From 71d5fcb2c0f4f60c5fc96a0a6a7af945ebe08d34 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 29 Aug 2024 11:44:54 +0200 Subject: [PATCH] Upgrade minimum version of golang to 1.23 --- .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 +- Taskfile.yml | 2 +- go.mod | 4 +--- 8 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index 375758ef..b09b808c 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/main#supported-version-syntax - GO_VERSION: "1.17" + GO_VERSION: "1.23" # 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 32ece201..0c29a653 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.17" + GO_VERSION: "1.23" # 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 1724c2c6..47827988 100644 --- a/.github/workflows/publish-go-tester-task.yml +++ b/.github/workflows/publish-go-tester-task.yml @@ -3,7 +3,7 @@ name: Publish Tester Build env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.17" + GO_VERSION: "1.23" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 897c10a9..5ac6060b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Create Release env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.17" + GO_VERSION: "1.23" on: push: diff --git a/.github/workflows/test-go-integration-task.yml b/.github/workflows/test-go-integration-task.yml index 2b086cca..4519834e 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/main#supported-version-syntax - GO_VERSION: "1.17" + GO_VERSION: "1.23" # See: https://github.com/actions/setup-python/tree/main#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 991c6947..725b9613 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/main#supported-version-syntax - GO_VERSION: "1.17" + GO_VERSION: "1.23" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/Taskfile.yml b/Taskfile.yml index c5f344e8..16c56e1c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -97,7 +97,7 @@ tasks: desc: Refresh dependency metadata dir: "{{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}}" vars: - GO_VERSION: 1.17 + GO_VERSION: 1.23 cmds: - go mod tidy -compat={{.GO_VERSION}} diff --git a/go.mod b/go.mod index d67730f3..a7dc7f53 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/arduino/libraries-repository-engine -go 1.21 - -toolchain go1.22.3 +go 1.23.0 require ( github.com/arduino/go-paths-helper v1.12.1