Skip to content

Commit 6f9025e

Browse files
authored
Update extract to 4.0.0 and golang to 1.23 (#990)
* Update extract to v4.0.0 * Update go version to 1.22 * Upgrade go to 1.23.0
1 parent fb06ef3 commit 6f9025e

File tree

16 files changed

+25
-88
lines changed

16 files changed

+25
-88
lines changed

.github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/v3#readme
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.23"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

.github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.23"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

.github/workflows/publish-go-tester-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131

3232
env:
3333
PROJECT_NAME: arduino-cloud-agent
34-
GO_VERSION: "1.21"
34+
GO_VERSION: "1.23"
3535

3636
jobs:
3737
run-determination:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
AC_PASSWORD: ${{ secrets.AC_PASSWORD }} # used by gon
2424
AC_PROVIDER: ${{ secrets.AC_PROVIDER }} # used by gon
2525
# See: https://github.com/actions/setup-go/tree/v3#readme
26-
GO_VERSION: "1.21"
26+
GO_VERSION: "1.23"
2727

2828
jobs:
2929
# The build job is responsible for: configuring the environment, testing and compiling process

.github/workflows/test-go-integration-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Integration
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/v2#readme
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.23"
77
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
88
PYTHON_VERSION: "3.9"
99

.github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/v2#readme
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.23"
77

88
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
99
on:

.licenses/arduino-create-agent/go/github.com/codeclysm/extract/v3.dep.yml .licenses/arduino-create-agent/go/github.com/codeclysm/extract/v4.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
name: github.com/codeclysm/extract/v3
3-
version: v3.1.1
2+
name: github.com/codeclysm/extract/v4
3+
version: v4.0.0
44
type: go
55
summary: Package extract allows to extract archives in zip, tar.gz or tar.bz2 formats
66
easily.
7-
homepage: https://pkg.go.dev/github.com/codeclysm/extract/v3
7+
homepage: https://pkg.go.dev/github.com/codeclysm/extract/v4
88
license: mit
99
licenses:
1010
- sources: LICENSE

.licenses/arduino-create-agent/go/github.com/ulikunitz/xz.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/ulikunitz/xz
3-
version: v0.5.11
3+
version: v0.5.12
44
type: go
55
summary: Package xz supports the compression and decompression of xz files.
66
homepage: https://pkg.go.dev/github.com/ulikunitz/xz

.licenses/arduino-create-agent/go/github.com/ulikunitz/xz/internal/hash.dep.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ulikunitz/xz/internal/hash
3-
version: v0.5.11
3+
version: v0.5.12
44
type: go
55
summary: Package hash provides rolling hashes.
66
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/hash
77
license: bsd-3-clause
88
licenses:
9-
- sources: xz@v0.5.11/LICENSE
9+
- sources: xz@v0.5.12/LICENSE
1010
text: |
1111
Copyright (c) 2014-2022 Ulrich Kunitz
1212
All rights reserved.

.licenses/arduino-create-agent/go/github.com/ulikunitz/xz/internal/xlog.dep.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: github.com/ulikunitz/xz/internal/xlog
3-
version: v0.5.11
3+
version: v0.5.12
44
type: go
55
summary: Package xlog provides a simple logging package that allows to disable certain
66
message categories.
77
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/xlog
88
license: bsd-3-clause
99
licenses:
10-
- sources: xz@v0.5.11/LICENSE
10+
- sources: xz@v0.5.12/LICENSE
1111
text: |
1212
Copyright (c) 2014-2022 Ulrich Kunitz
1313
All rights reserved.

.licenses/arduino-create-agent/go/github.com/ulikunitz/xz/lzma.dep.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ulikunitz/xz/lzma
3-
version: v0.5.11
3+
version: v0.5.12
44
type: go
55
summary: Package lzma supports the decoding and encoding of LZMA streams.
66
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/lzma
77
license: bsd-3-clause
88
licenses:
9-
- sources: xz@v0.5.11/LICENSE
9+
- sources: xz@v0.5.12/LICENSE
1010
text: |
1111
Copyright (c) 2014-2022 Ulrich Kunitz
1212
All rights reserved.

.licenses/arduino-create-agent/go/golang.org/x/crypto/sha3.dep.yml

-63
This file was deleted.

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-create-agent
22

3-
go 1.21
3+
go 1.23.0
44

55
require (
66
fyne.io/systray v1.10.0
@@ -9,7 +9,7 @@ require (
99
github.com/arduino/go-serial-utils v0.1.2
1010
github.com/arduino/pluggable-discovery-protocol-handler/v2 v2.2.0
1111
github.com/blang/semver v3.5.1+incompatible
12-
github.com/codeclysm/extract/v3 v3.1.1
12+
github.com/codeclysm/extract/v4 v4.0.0
1313
github.com/gin-contrib/cors v1.7.2
1414
github.com/gin-gonic/gin v1.10.0
1515
github.com/go-ini/ini v1.62.0
@@ -71,7 +71,7 @@ require (
7171
github.com/tevino/abool v1.2.0 // indirect
7272
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
7373
github.com/ugorji/go v1.1.6 // indirect
74-
github.com/ulikunitz/xz v0.5.11 // indirect
74+
github.com/ulikunitz/xz v0.5.12 // indirect
7575
golang.org/x/arch v0.8.0 // indirect
7676
golang.org/x/crypto v0.23.0 // indirect
7777
golang.org/x/mod v0.17.0 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/
2525
github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w=
2626
github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
2727
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
28-
github.com/codeclysm/extract/v3 v3.1.1 h1:iHZtdEAwSTqPrd+1n4jfhr1qBhUWtHlMTjT90+fJVXg=
29-
github.com/codeclysm/extract/v3 v3.1.1/go.mod h1:ZJi80UG2JtfHqJI+lgJSCACttZi++dHxfWuPaMhlOfQ=
28+
github.com/codeclysm/extract/v4 v4.0.0 h1:H87LFsUNaJTu2e/8p/oiuiUsOK/TaPQ5wxsjPnwPEIY=
29+
github.com/codeclysm/extract/v4 v4.0.0/go.mod h1:SFju1lj6as7FvUgalpSct7torJE0zttbJUWtryPRG6s=
3030
github.com/creack/goselect v0.1.2 h1:2DNy14+JPjRBgPzAd1thbQp4BSIihxcBf0IXhQXDRa0=
3131
github.com/creack/goselect v0.1.2/go.mod h1:a/NhLweNvqIYMuxcMOuWY516Cimucms3DglDzQP3hKY=
3232
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -155,8 +155,8 @@ github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS
155155
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
156156
github.com/ugorji/go v1.1.6 h1:zoJUBK8kLIUDNJ9LGB04qOQRfoDRoWBBpl0X7pZyi5I=
157157
github.com/ugorji/go v1.1.6/go.mod h1:RaaajvHwnCbhlqWLTIB78hyPWp24YUXhQ3YXM7Hg7os=
158-
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
159-
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
158+
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
159+
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
160160
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9 h1:w8V9v0qVympSF6GjdjIyeqR7+EVhAF9CBQmkmW7Zw0w=
161161
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
162162
go.bug.st/serial v1.6.1 h1:VSSWmUxlj1T/YlRo2J104Zv3wJFrjHIl/T3NeruWAHY=

updater/updater_darwin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"strings"
2727

2828
"github.com/arduino/go-paths-helper"
29-
"github.com/codeclysm/extract/v3"
29+
"github.com/codeclysm/extract/v4"
3030
"github.com/sirupsen/logrus"
3131
log "github.com/sirupsen/logrus"
3232
)

v2/pkgs/tools.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"github.com/arduino/arduino-create-agent/index"
3636
"github.com/arduino/arduino-create-agent/utilities"
3737
"github.com/blang/semver"
38-
"github.com/codeclysm/extract/v3"
38+
"github.com/codeclysm/extract/v4"
3939
)
4040

4141
// public vars to allow override in the tests

0 commit comments

Comments
 (0)