From 01af26095776ad7353d2776667be4c2af22e25ba Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 12 Mar 2022 07:16:41 -0800 Subject: [PATCH] Update to using Go 1.17 for registry validator tool 1.17 is now the preferred Go version for Arduino tooling projects. --- .../workflows/assets/validate-registry/go.mod | 41 ++++++++++++++++++- .../workflows/check-go-dependencies-task.yml | 2 +- .github/workflows/check-go-task.yml | 2 +- .github/workflows/check-registry.yml | 2 +- .../workflows/test-go-integration-task.yml | 2 +- 5 files changed, 44 insertions(+), 5 deletions(-) diff --git a/.github/workflows/assets/validate-registry/go.mod b/.github/workflows/assets/validate-registry/go.mod index 4112074ac..f970b14c5 100644 --- a/.github/workflows/assets/validate-registry/go.mod +++ b/.github/workflows/assets/validate-registry/go.mod @@ -1,5 +1,44 @@ module github.com/arduino/library-registry/.github/workflows/assets/validate-registry -go 1.16 +go 1.17 require github.com/arduino/libraries-repository-engine v0.0.0-20210715160651-710946ea85e3 + +require ( + github.com/Microsoft/go-winio v0.4.16 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect + github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/arduino/arduino-cli v0.0.0-20210520100059-2666b6ec51e9 // indirect + github.com/arduino/go-paths-helper v1.6.1 // indirect + github.com/arduino/go-properties-orderedmap v1.3.0 // indirect + github.com/codeclysm/extract/v3 v3.0.2 // indirect + github.com/emirpasic/gods v1.12.0 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.3.1 // indirect + github.com/go-git/go-git/v5 v5.4.2 // indirect + github.com/golang/protobuf v1.4.2 // indirect + github.com/h2non/filetype v1.0.8 // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect + github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect + github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmylund/sortutil v0.0.0-20120526081524-abeda66eb583 // indirect + github.com/sergi/go-diff v1.1.0 // indirect + github.com/sirupsen/logrus v1.4.2 // indirect + github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec // indirect + github.com/xanzy/ssh-agent v0.3.0 // indirect + go.bug.st/cleanup v1.0.0 // indirect + go.bug.st/downloader/v2 v2.1.1 // indirect + go.bug.st/relaxed-semver v0.0.0-20190922224835-391e10178d18 // indirect + golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect + golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect + golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79 // indirect + golang.org/x/text v0.3.3 // indirect + google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect + google.golang.org/grpc v1.27.0 // indirect + google.golang.org/protobuf v1.25.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect +) diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index 09cc5584e..c768c4f22 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -3,7 +3,7 @@ name: Check Go Dependencies env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index e2e2bb86a..e72095f00 100644 --- a/.github/workflows/check-go-task.yml +++ b/.github/workflows/check-go-task.yml @@ -3,7 +3,7 @@ name: Check Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: diff --git a/.github/workflows/check-registry.yml b/.github/workflows/check-registry.yml index c7ec55416..e070e48d1 100644 --- a/.github/workflows/check-registry.yml +++ b/.github/workflows/check-registry.yml @@ -2,7 +2,7 @@ name: Check Registry Data File env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows on: diff --git a/.github/workflows/test-go-integration-task.yml b/.github/workflows/test-go-integration-task.yml index bbb1f554d..48895c882 100644 --- a/.github/workflows/test-go-integration-task.yml +++ b/.github/workflows/test-go-integration-task.yml @@ -3,7 +3,7 @@ name: Test Integration env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python PYTHON_VERSION: "3.9"