Skip to content

Commit ae57066

Browse files
umbynosper1234
andauthored
Bump go version to go 1.17.8 (#1567)
* bump go version we use to build and release to go 1.17.8 Co-authored-by: per1234 <accounts@perglass.com> * bump go version in go.mod * bump go version in GH Actions workflows * bump go version in the docs Co-authored-by: per1234 <accounts@perglass.com>
1 parent 6303ba3 commit ae57066

15 files changed

+150
-18
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/v2#readme
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.17"
77

88
# See: https://docs.github.com/en/actions/reference/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/v2#readme
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.17"
77

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

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

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

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

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

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

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

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Protocol Buffers
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/v2#readme
5-
GO_VERSION: "1.16"
5+
GO_VERSION: "1.17"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Website
33

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

.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.16"
6+
GO_VERSION: "1.17"
77
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
88
PYTHON_VERSION: "3.9.6"
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.16"
6+
GO_VERSION: "1.17"
77

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

DistTasks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version: "3"
1919

2020
vars:
2121
CONTAINER: "docker.elastic.co/beats-dev/golang-crossbuild"
22-
GO_VERSION: "1.16.4"
22+
GO_VERSION: "1.17.8"
2323
CHECKSUM_FILE: "{{.VERSION}}-checksums.txt"
2424

2525
tasks:
+20-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
11
module github.com/arduino/arduino-cli/arduino/discovery/discovery_client
22

3-
go 1.14
3+
go 1.17
44

55
replace github.com/arduino/arduino-cli => ../../..
66

77
require (
88
github.com/arduino/arduino-cli v0.0.0-00010101000000-000000000000
99
github.com/gizak/termui/v3 v3.1.0
1010
)
11+
12+
require (
13+
github.com/arduino/go-paths-helper v1.7.0 // indirect
14+
github.com/arduino/go-properties-orderedmap v1.6.0 // indirect
15+
github.com/golang/protobuf v1.5.2 // indirect
16+
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
17+
github.com/leonelquinteros/gotext v1.4.0 // indirect
18+
github.com/mattn/go-runewidth v0.0.9 // indirect
19+
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
20+
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d // indirect
21+
github.com/pkg/errors v0.9.1 // indirect
22+
github.com/sirupsen/logrus v1.4.2 // indirect
23+
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125 // indirect
24+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
25+
golang.org/x/text v0.3.6 // indirect
26+
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
27+
google.golang.org/grpc v1.38.0 // indirect
28+
google.golang.org/protobuf v1.26.0 // indirect
29+
)

arduino/discovery/discovery_client/go.sum

-3
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
215215
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
216216
github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
217217
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
218-
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
219218
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
220219
github.com/leonelquinteros/gotext v1.4.0 h1:2NHPCto5IoMXbrT0bldPrxj0qM5asOCwtb1aUQZ1tys=
221220
github.com/leonelquinteros/gotext v1.4.0/go.mod h1:yZGXREmoGTtBvZHNcc+Yfug49G/2spuF/i/Qlsvz1Us=
@@ -247,7 +246,6 @@ github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR
247246
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
248247
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
249248
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
250-
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
251249
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
252250
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840=
253251
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=
@@ -658,7 +656,6 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
658656
gopkg.in/check.v1 v1.0.0-20160105164936-4f90aeace3a2/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
659657
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
660658
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
661-
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
662659
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
663660
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
664661
gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=

client_example/go.mod

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
module github.com/arduino/arduino-cli/client_example
22

3-
go 1.14
3+
go 1.17
44

55
replace github.com/arduino/arduino-cli => ../
66

77
require (
88
github.com/arduino/arduino-cli v0.0.0-20200109150215-ffa84fdaab21
99
google.golang.org/grpc v1.38.0
1010
)
11+
12+
require (
13+
github.com/golang/protobuf v1.5.2 // indirect
14+
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125 // indirect
15+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
16+
golang.org/x/text v0.3.6 // indirect
17+
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
18+
google.golang.org/protobuf v1.26.0 // indirect
19+
)

docs/CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ submitting a PR:
7070

7171
To build the Arduino CLI from sources you need the following tools to be available in your local environment:
7272

73-
- [Go][1] version 1.14 or later
73+
- [Go][1] version 1.17 or later
7474
- [Taskfile][2] to help you run the most common tasks from the command line
7575

7676
If you want to run integration tests you will also need:
@@ -272,7 +272,7 @@ If you want to check out how the documentation would look after some local chang
272272
happens in the CI, generating the full documentation website from your personal computer. To run the docs toolchain
273273
locally, you need to have a few dependencies and tools installed:
274274

275-
- [Go][1] version 1.14 or later
275+
- [Go][1] version 1.17 or later
276276
- [Taskfile][2] to help you run the most common tasks from the command line
277277
- A working [Python][3] environment, see [this paragraph](#integration-tests) if you need to setup one
278278

docsgen/go.mod

+74-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,84 @@
11
// Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/cobra/docsgen/go.mod
22
module github.com/arduino/arduino-cli/docsgen
33

4-
go 1.16
4+
go 1.17
55

66
replace github.com/arduino/arduino-cli => ../
77

88
require (
99
github.com/arduino/arduino-cli v0.0.0
1010
github.com/spf13/cobra v1.2.1
1111
)
12+
13+
require (
14+
github.com/arduino/board-discovery v0.0.0-20180823133458-1ba29327fb0c // indirect
15+
github.com/arduino/go-paths-helper v1.7.0 // indirect
16+
github.com/arduino/go-properties-orderedmap v1.6.0 // indirect
17+
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b // indirect
18+
github.com/arduino/go-win32-utils v0.0.0-20180330194947-ed041402e83b // indirect
19+
github.com/cmaglie/pb v1.0.27 // indirect
20+
github.com/codeclysm/cc v1.2.2 // indirect
21+
github.com/codeclysm/extract/v3 v3.0.2 // indirect
22+
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
23+
github.com/creack/goselect v0.1.2 // indirect
24+
github.com/emirpasic/gods v1.12.0 // indirect
25+
github.com/fatih/color v1.7.0 // indirect
26+
github.com/fluxio/iohelpers v0.0.0-20160419043813-3a4dd67a94d2 // indirect
27+
github.com/fluxio/multierror v0.0.0-20160419044231-9c68d39025e5 // indirect
28+
github.com/fsnotify/fsnotify v1.4.9 // indirect
29+
github.com/gofrs/uuid v3.2.0+incompatible // indirect
30+
github.com/golang/protobuf v1.5.2 // indirect
31+
github.com/h2non/filetype v1.0.8 // indirect
32+
github.com/hashicorp/hcl v1.0.0 // indirect
33+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
34+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
35+
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect
36+
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
37+
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
38+
github.com/leonelquinteros/gotext v1.4.0 // indirect
39+
github.com/magiconair/properties v1.8.5 // indirect
40+
github.com/marcinbor85/gohex v0.0.0-20210308104911-55fb1c624d84 // indirect
41+
github.com/mattn/go-colorable v0.1.8 // indirect
42+
github.com/mattn/go-isatty v0.0.12 // indirect
43+
github.com/mattn/go-runewidth v0.0.9 // indirect
44+
github.com/miekg/dns v1.1.43 // indirect
45+
github.com/mitchellh/go-homedir v1.1.0 // indirect
46+
github.com/mitchellh/mapstructure v1.4.1 // indirect
47+
github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228 // indirect
48+
github.com/pelletier/go-toml v1.9.3 // indirect
49+
github.com/pkg/errors v0.9.1 // indirect
50+
github.com/pmylund/sortutil v0.0.0-20120526081524-abeda66eb583 // indirect
51+
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 // indirect
52+
github.com/russross/blackfriday/v2 v2.0.1 // indirect
53+
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
54+
github.com/segmentio/fasthash v0.0.0-20180216231524-a72b379d632e // indirect
55+
github.com/segmentio/stats/v4 v4.5.3 // indirect
56+
github.com/sergi/go-diff v1.1.0 // indirect
57+
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
58+
github.com/sirupsen/logrus v1.4.2 // indirect
59+
github.com/spf13/afero v1.6.0 // indirect
60+
github.com/spf13/cast v1.3.1 // indirect
61+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
62+
github.com/spf13/pflag v1.0.5 // indirect
63+
github.com/spf13/viper v1.8.1 // indirect
64+
github.com/src-d/gcfg v1.4.0 // indirect
65+
github.com/subosito/gotenv v1.2.0 // indirect
66+
github.com/xanzy/ssh-agent v0.2.1 // indirect
67+
go.bug.st/cleanup v1.0.0 // indirect
68+
go.bug.st/downloader/v2 v2.1.1 // indirect
69+
go.bug.st/relaxed-semver v0.0.0-20190922224835-391e10178d18 // indirect
70+
go.bug.st/serial v1.3.2 // indirect
71+
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45 // indirect
72+
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
73+
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125 // indirect
74+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
75+
golang.org/x/text v0.3.6 // indirect
76+
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
77+
google.golang.org/grpc v1.38.0 // indirect
78+
google.golang.org/protobuf v1.26.0 // indirect
79+
gopkg.in/ini.v1 v1.62.0 // indirect
80+
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
81+
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
82+
gopkg.in/warnings.v0 v0.1.2 // indirect
83+
gopkg.in/yaml.v2 v2.4.0 // indirect
84+
)

go.mod

+35-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-cli
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/arduino/board-discovery v0.0.0-20180823133458-1ba29327fb0c
@@ -51,3 +51,37 @@ require (
5151
gopkg.in/src-d/go-git.v4 v4.13.1
5252
gopkg.in/yaml.v2 v2.4.0
5353
)
54+
55+
require (
56+
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
57+
github.com/creack/goselect v0.1.2 // indirect
58+
github.com/davecgh/go-spew v1.1.1 // indirect
59+
github.com/emirpasic/gods v1.12.0 // indirect
60+
github.com/fsnotify/fsnotify v1.4.9 // indirect
61+
github.com/golang/protobuf v1.5.2 // indirect
62+
github.com/hashicorp/hcl v1.0.0 // indirect
63+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
64+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
65+
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect
66+
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
67+
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
68+
github.com/magiconair/properties v1.8.5 // indirect
69+
github.com/mitchellh/go-homedir v1.1.0 // indirect
70+
github.com/mitchellh/mapstructure v1.4.1 // indirect
71+
github.com/pelletier/go-toml v1.9.3 // indirect
72+
github.com/pmezard/go-difflib v1.0.0 // indirect
73+
github.com/russross/blackfriday/v2 v2.0.1 // indirect
74+
github.com/segmentio/fasthash v0.0.0-20180216231524-a72b379d632e // indirect
75+
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
76+
github.com/spf13/afero v1.6.0 // indirect
77+
github.com/spf13/cast v1.3.1 // indirect
78+
github.com/spf13/pflag v1.0.5 // indirect
79+
github.com/src-d/gcfg v1.4.0 // indirect
80+
github.com/subosito/gotenv v1.2.0 // indirect
81+
github.com/xanzy/ssh-agent v0.2.1 // indirect
82+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
83+
gopkg.in/ini.v1 v1.62.0 // indirect
84+
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
85+
gopkg.in/warnings.v0 v0.1.2 // indirect
86+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
87+
)

0 commit comments

Comments
 (0)