Skip to content

Commit 64742a0

Browse files
authored
Bump GO to 1.19 (#744)
* bump go version to the latest available one * bump go mod to 1.19 * forgot to remove this in #742 * `go get` starting from 1.17 is deprecated to install binaries https://go.dev/doc/go-get-install-deprecation * Go dropped support for x87 in go 1.15 golang/go#40255 * fix buildtag
1 parent 6257da8 commit 64742a0

18 files changed

+69
-52
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.14"
6+
GO_VERSION: "1.19"
77

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

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
repository_dispatch:
3131

3232
env:
33-
GO_VERSION: "1.14"
33+
GO_VERSION: "1.19"
3434

3535
jobs:
3636
run-determination:
@@ -116,14 +116,13 @@ jobs:
116116
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
117117
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
118118
- name: Download tool to embed manifest in win binary
119-
run: go get github.com/akavel/rsrc
119+
run: go install github.com/akavel/rsrc@latest
120120
if: runner.os == 'Windows'
121121

122122
# building the agent for win requires a different task because of an extra flag
123123
- name: Build the Agent for win32
124124
env:
125125
GOARCH: 386 # 32bit architecture (for support)
126-
GO386: 387 # support old instruction sets without MMX (used in the Pentium 4) (will be deprecated in GO > 1.15 https://golang.org/doc/go1.15)
127126
run: task go:build-win
128127
if: runner.os == 'Windows' && matrix.arch == '-386'
129128

.github/workflows/release.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ env:
2020
INSTALLER_CERT_MAC_PATH: "/tmp/ArduinoCerts2020.p12"
2121
AC_USERNAME: ${{ secrets.AC_USERNAME }} # used by gon
2222
AC_PASSWORD: ${{ secrets.AC_PASSWORD }} # used by gon
23+
# See: https://github.com/actions/setup-go/tree/v3#readme
24+
GO_VERSION: "1.19"
2325

2426
jobs:
2527
# The build job is responsible for: configuring the environment, testing and compiling process
@@ -64,21 +66,15 @@ jobs:
6466
- name: Install Go
6567
uses: actions/setup-go@v3
6668
with:
67-
go-version: "1.14"
69+
go-version: ${{ env.GO_VERSION }}
6870

6971
# dependencies used for compiling the GUI
7072
- name: Install Dependencies (Linux)
7173
run: sudo apt update && sudo apt install -y --no-install-recommends build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev
7274
if: matrix.os == 'ubuntu-20.04'
7375

7476
- name: Install Go deps
75-
# Since 10/23/2019 pwsh is the default shell
76-
# on Windows, but pwsh fails to install protoc-gen-go so
77-
# we force bash as default shell for all OSes in this task
78-
run: |
79-
go get github.com/golangci/govet
80-
go get golang.org/x/lint/golint
81-
go get -u github.com/sanbornm/go-selfupdate/...
77+
run: go install github.com/sanbornm/go-selfupdate/...@latest
8278

8379
- name: Install Taskfile
8480
uses: arduino/setup-task@v1
@@ -98,14 +94,13 @@ jobs:
9894
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
9995
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
10096
- name: Download tool to embed manifest in win binary
101-
run: go get github.com/akavel/rsrc
97+
run: go install github.com/akavel/rsrc@latest
10298
if: matrix.os == 'windows-2019'
10399

104100
# building the agent for win requires a different task because of an extra flag
105101
- name: Build the Agent for win32
106102
env:
107103
GOARCH: 386 # 32bit architecture (for support)
108-
GO386: 387 # support old instruction sets without MMX (used in the Pentium 4) (will be deprecated in GO > 1.15 https://golang.org/doc/go1.15)
109104
run: task go:build-win
110105
if: matrix.os == 'windows-2019' && matrix.arch == '-386'
111106

.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.14"
6+
GO_VERSION: "1.19"
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.14"
6+
GO_VERSION: "1.19"
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/ugorji/go/codec.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: github.com/ugorji/go/codec
3-
version: v1.2.7
3+
version: v1.1.6
44
type: go
55
summary: Package codec provides a High Performance, Feature-Rich Idiomatic Go 1.4+
66
codec/encoding library for binc, msgpack, cbor, json.
77
homepage: https://pkg.go.dev/github.com/ugorji/go/codec
88
license: mit
99
licenses:
10-
- sources: LICENSE
10+
- sources: [email protected]/LICENSE
1111
text: |
1212
The MIT License (MIT)
1313
14-
Copyright (c) 2012-2020 Ugorji Nwoke.
14+
Copyright (c) 2012-2015 Ugorji Nwoke.
1515
All rights reserved.
1616
1717
Permission is hereby granted, free of charge, to any person obtaining a copy
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
name: golang.org/x/crypto/curve25519/internal/field
2+
name: golang.org/x/crypto/poly1305
33
version: v0.0.0-20210711020723-a769d52b0f97
44
type: go
5-
summary: Package field implements fast arithmetic modulo 2^255-19.
6-
homepage: https://pkg.go.dev/golang.org/x/crypto/curve25519/internal/field
5+
summary: Package poly1305 implements Poly1305 one-time message authentication code
6+
as specified in https://cr.yp.to/mac/poly1305-20050329.pdf.
7+
homepage: https://pkg.go.dev/golang.org/x/crypto/poly1305
78
license: bsd-3-clause
89
licenses:
910
- sources: [email protected]/LICENSE

go.mod

+46-14
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,77 @@
11
module github.com/arduino/arduino-create-agent
22

3-
go 1.14
3+
go 1.19
44

55
require (
66
github.com/andela/gin-cors v0.0.0-20160928171741-e8c3436a37e2
77
github.com/arduino/arduino-cli v0.0.0-20210422154105-5aa424818026
88
github.com/blang/semver v3.5.1+incompatible
99
github.com/codeclysm/extract/v3 v3.0.2
10-
github.com/davidmz/go-pageant v1.0.1 // indirect
11-
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect
12-
github.com/dimfeld/httptreemux v5.0.1+incompatible // indirect
1310
github.com/getlantern/systray v1.1.0
1411
github.com/gin-gonic/gin v1.8.1
1512
github.com/go-ini/ini v1.62.0
16-
github.com/google/gxui v0.0.0-20151028112939-f85e0a97b3a4 // indirect
17-
github.com/googollee/go-engine.io v0.0.0-20180829091931-e2f255711dcb // indirect
1813
github.com/googollee/go-socket.io v0.0.0-20181101151912-c8aeb1ed9b49
19-
github.com/h2non/filetype v1.1.0 // indirect
20-
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
2114
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
2215
github.com/kr/binarydist v0.1.0
23-
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect
24-
github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b // indirect
2516
github.com/mattn/go-shellwords v1.0.12
26-
github.com/miekg/dns v1.1.35 // indirect
2717
github.com/mitchellh/go-homedir v1.1.0
28-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2918
github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228
3019
github.com/pkg/errors v0.9.1
31-
github.com/pkg/sftp v1.12.0 // indirect
3220
github.com/sfreiberg/simplessh v0.0.0-20180301191542-495cbb862a9c
3321
github.com/sirupsen/logrus v1.8.1
3422
github.com/skratchdot/open-golang v0.0.0-20160302144031-75fb7ed4208c
3523
github.com/stretchr/testify v1.8.1
3624
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9
37-
github.com/zach-klippenstein/goregen v0.0.0-20160303162051-795b5e3961ea // indirect
3825
go.bug.st/downloader v0.0.0-20181116113543-9b8976a44d87
3926
go.bug.st/serial v1.3.0
4027
goa.design/goa v1.0.1-0.20190116060309-40843d63b0e4
4128
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
4229
golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069
4330
gopkg.in/inconshreveable/go-update.v0 v0.0.0-20150814200126-d8b0b1d421aa
31+
)
32+
33+
require (
34+
github.com/creack/goselect v0.1.2 // indirect
35+
github.com/davecgh/go-spew v1.1.1 // indirect
36+
github.com/davidmz/go-pageant v1.0.1 // indirect
37+
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect
38+
github.com/dimfeld/httptreemux v5.0.1+incompatible // indirect
39+
github.com/getlantern/context v0.0.0-20190109183933-c447772a6520 // indirect
40+
github.com/getlantern/errors v0.0.0-20190325191628-abdb3e3e36f7 // indirect
41+
github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7 // indirect
42+
github.com/getlantern/hex v0.0.0-20190417191902-c6586a6fe0b7 // indirect
43+
github.com/getlantern/hidden v0.0.0-20190325191715-f02dbb02be55 // indirect
44+
github.com/getlantern/ops v0.0.0-20190325191751-d70cb0d6f85f // indirect
45+
github.com/gin-contrib/sse v0.1.0 // indirect
46+
github.com/go-playground/locales v0.14.0 // indirect
47+
github.com/go-playground/universal-translator v0.18.0 // indirect
48+
github.com/go-playground/validator/v10 v10.10.0 // indirect
49+
github.com/go-stack/stack v1.8.0 // indirect
50+
github.com/goccy/go-json v0.9.7 // indirect
51+
github.com/google/gxui v0.0.0-20151028112939-f85e0a97b3a4 // indirect
52+
github.com/googollee/go-engine.io v0.0.0-20180829091931-e2f255711dcb // indirect
53+
github.com/gorilla/websocket v1.4.0 // indirect
54+
github.com/h2non/filetype v1.1.0 // indirect
55+
github.com/json-iterator/go v1.1.12 // indirect
56+
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
57+
github.com/kr/fs v0.1.0 // indirect
58+
github.com/leodido/go-urn v1.2.1 // indirect
59+
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect
60+
github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b // indirect
61+
github.com/mattn/go-isatty v0.0.14 // indirect
62+
github.com/miekg/dns v1.1.35 // indirect
63+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
64+
github.com/modern-go/reflect2 v1.0.2 // indirect
65+
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
66+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
67+
github.com/pkg/sftp v1.12.0 // indirect
68+
github.com/pmezard/go-difflib v1.0.0 // indirect
69+
github.com/ugorji/go v1.1.6 // indirect
70+
github.com/zach-klippenstein/goregen v0.0.0-20160303162051-795b5e3961ea // indirect
71+
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
72+
golang.org/x/text v0.3.6 // indirect
73+
google.golang.org/protobuf v1.28.0 // indirect
4474
gopkg.in/ini.v1 v1.62.0 // indirect
75+
gopkg.in/yaml.v2 v2.4.0 // indirect
76+
gopkg.in/yaml.v3 v3.0.1 // indirect
4577
)

go.sum

+2-5
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228/go.mod h1:MGuVJ1
228228
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
229229
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
230230
github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo=
231-
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
232231
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
233232
github.com/pelletier/go-toml/v2 v2.0.1 h1:8e3L2cCQzLFi2CR4g7vGFuFxX7Jl1kKX8gW+iV0GUKU=
234233
github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo=
@@ -304,10 +303,8 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
304303
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
305304
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
306305
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
307-
github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=
308-
github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M=
309-
github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0=
310-
github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY=
306+
github.com/ugorji/go v1.1.6 h1:zoJUBK8kLIUDNJ9LGB04qOQRfoDRoWBBpl0X7pZyi5I=
307+
github.com/ugorji/go v1.1.6/go.mod h1:RaaajvHwnCbhlqWLTIB78hyPWp24YUXhQ3YXM7Hg7os=
311308
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
312309
github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8=
313310
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=

icon/icondarwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build darwin
2-
// +build darwin
32

43
// File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray)
54

icon/iconlinux.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
// File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray)
54

icon/iconwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build windows
2-
// +build windows
32

43
// File generated by 2goarray v0.1.0 (http://github.com/cratonica/2goarray)
54

icon/make_icon.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ GOTO DONE
1717

1818
:INSTALL
1919
ECHO Installing 2goarray...
20-
go get github.com/cratonica/2goarray
20+
go install github.com/cratonica/2goarray@latest
2121
IF ERRORLEVEL 1 GOTO GETFAIL
2222
GOTO POSTINSTALL
2323

2424
:GETFAIL
25-
ECHO Failure running go get github.com/cratonica/2goarray. Ensure that go and git are in PATH
25+
ECHO Failure running go install github.com/cratonica/2goarray@latest. Ensure that go and git are in PATH
2626
GOTO DONE
2727

2828
:NOGO

icon/make_icon.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ fi
77

88
if [ ! -e "$GOPATH/bin/2goarray" ]; then
99
echo "Installing 2goarray..."
10-
go get github.com/cratonica/2goarray
10+
go install github.com/cratonica/2goarray@latest
1111
if [ $? -ne 0 ]; then
12-
echo Failure executing go get github.com/cratonica/2goarray
12+
echo Failure executing go install github.com/cratonica/2goarray@latest
1313
exit
1414
fi
1515
fi

redirect_stderr_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// Log the panic under unix to the log file
1717

1818
//go:build !windows
19-
// +build !windows
2019

2120
package main
2221

redirect_stderr_win.go

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// https://play.golang.org/p/kLtct7lSUg
66

77
//go:build windows
8-
// +build windows
98

109
package main
1110

systray/systray_fake.go

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1515

1616
//go:build cli
17-
// +build cli
1817

1918
// Systray_fake gets compiled when the tag 'cli' is present. This is useful to build an agent without trayicon functionalities
2019
package systray

systray/systray_real.go

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1515

1616
//go:build !cli
17-
// +build !cli
1817

1918
// Systray_real gets compiled when the tag 'cli' is missing. This is the default case
2019

0 commit comments

Comments
 (0)