From 1d88dcbf6f7da7c4a4809e5970bb0bc4138bcdc6 Mon Sep 17 00:00:00 2001 From: Umberto Baldi <34278123+umbynos@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:51:35 +0200 Subject: [PATCH] Bump go 1.20 (#814) * bump GO to 1.20 * fix license cache --- .github/workflows/check-go-dependencies-task.yml | 2 +- .github/workflows/check-go-task.yml | 2 +- .github/workflows/publish-go-tester-task.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-go-integration-task.yml | 2 +- .github/workflows/test-go-task.yml | 2 +- .licensed.yml | 4 ++++ .../{internal/alias.dep.yml => curve25519.dep.yml} | 9 +++++---- go.mod | 2 +- 9 files changed, 16 insertions(+), 11 deletions(-) rename .licenses/arduino-create-agent/go/golang.org/x/crypto/{internal/alias.dep.yml => curve25519.dep.yml} (91%) diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index b460b96fa..ed31f06b5 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/v3#readme - GO_VERSION: "1.19" + GO_VERSION: "1.20" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index 32c039526..5d6796017 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/main#supported-version-syntax - GO_VERSION: "1.19" + GO_VERSION: "1.20" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/.github/workflows/publish-go-tester-task.yml b/.github/workflows/publish-go-tester-task.yml index fb755a25c..14b7df441 100644 --- a/.github/workflows/publish-go-tester-task.yml +++ b/.github/workflows/publish-go-tester-task.yml @@ -30,7 +30,7 @@ on: repository_dispatch: env: - GO_VERSION: "1.19" + GO_VERSION: "1.20" jobs: run-determination: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54c3b70fb..51041c4eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ env: AC_USERNAME: ${{ secrets.AC_USERNAME }} # used by gon AC_PASSWORD: ${{ secrets.AC_PASSWORD }} # used by gon # See: https://github.com/actions/setup-go/tree/v3#readme - GO_VERSION: "1.19" + GO_VERSION: "1.20" jobs: # The build job is responsible for: configuring the environment, testing and compiling process diff --git a/.github/workflows/test-go-integration-task.yml b/.github/workflows/test-go-integration-task.yml index b257b505f..7bc9d38e0 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.19" + GO_VERSION: "1.20" # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python PYTHON_VERSION: "3.9" diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index fa4a67854..492511218 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -3,7 +3,7 @@ name: Test Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.19" + GO_VERSION: "1.20" # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows on: diff --git a/.licensed.yml b/.licensed.yml index b8e0c8347..c772413d0 100644 --- a/.licensed.yml +++ b/.licensed.yml @@ -5,6 +5,10 @@ sources: apps: - source_path: ./ +reviewed: + go: + - golang.org/x/crypto/curve25519 + # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/AGPL-3.0/.licensed.yml allowed: # The following are based on: https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses diff --git a/.licenses/arduino-create-agent/go/golang.org/x/crypto/internal/alias.dep.yml b/.licenses/arduino-create-agent/go/golang.org/x/crypto/curve25519.dep.yml similarity index 91% rename from .licenses/arduino-create-agent/go/golang.org/x/crypto/internal/alias.dep.yml rename to .licenses/arduino-create-agent/go/golang.org/x/crypto/curve25519.dep.yml index bc4f08430..87fad2602 100644 --- a/.licenses/arduino-create-agent/go/golang.org/x/crypto/internal/alias.dep.yml +++ b/.licenses/arduino-create-agent/go/golang.org/x/crypto/curve25519.dep.yml @@ -1,10 +1,11 @@ --- -name: golang.org/x/crypto/internal/alias +name: golang.org/x/crypto/curve25519 version: v0.9.0 type: go -summary: Package alias implements memory aliasing tests. -homepage: https://pkg.go.dev/golang.org/x/crypto/internal/alias -license: bsd-3-clause +summary: Package curve25519 provides an implementation of the X25519 function, which + performs scalar multiplication on the elliptic curve known as Curve25519. +homepage: https://pkg.go.dev/golang.org/x/crypto/curve25519 +license: other licenses: - sources: crypto@v0.9.0/LICENSE text: | diff --git a/go.mod b/go.mod index 50de5cc4c..49cffdf3b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/arduino/arduino-create-agent -go 1.19 +go 1.20 require ( github.com/andela/gin-cors v0.0.0-20160928171741-e8c3436a37e2