Skip to content

Commit fa69a61

Browse files
committed
Upgrade go to 1.19
1 parent 2b98efe commit fa69a61

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
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/main#supported-version-syntax
6-
GO_VERSION: "1.16"
6+
GO_VERSION: "1.19"
77

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

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

Lines changed: 1 addition & 1 deletion
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.16"
6+
GO_VERSION: "1.19"
77

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

DistTasks.yml

Lines changed: 2 additions & 2 deletions
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.19.3"
2323

2424
tasks:
2525
Windows_32bit:
@@ -184,7 +184,7 @@ tasks:
184184
#
185185
# Until there is a fix released we must use a recent gcc for Linux_ARMv6 build, so for this
186186
# build we select the debian10 based container.
187-
CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian10"
187+
CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian9"
188188
PACKAGE_PLATFORM: "Linux_ARMv6"
189189
PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz"
190190

go.mod

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/serial-discovery
22

3-
go 1.16
3+
go 1.19
44

55
require (
66
github.com/arduino/go-properties-orderedmap v1.7.1
@@ -9,3 +9,9 @@ require (
99
go.bug.st/serial v1.5.0
1010
golang.org/x/sys v0.5.0
1111
)
12+
13+
require (
14+
github.com/arduino/go-paths-helper v1.8.0 // indirect
15+
github.com/creack/goselect v0.1.2 // indirect
16+
github.com/pkg/errors v0.9.1 // indirect
17+
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,6 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc
477477
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
478478
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
479479
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
480-
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
481480
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
482481
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
483482
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=

sync/sync_default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// a commercial license, send an email to [email protected].
1616
//
1717

18-
// +build !linux,!windows,!darwin
18+
//go:build !linux && !windows && !darwin
1919

2020
package sync
2121

0 commit comments

Comments
 (0)