From 6a147091c5640bd563c15d4c0c4074be6c0c32a0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 12 Feb 2025 10:16:46 +0100 Subject: [PATCH] build: use Go 1.24, minimum is Go 1.23 (#9960) --- .github/workflows/build-infra-dockers.yaml | 2 +- .github/workflows/build-syncthing.yaml | 4 ++-- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-infra-dockers.yaml b/.github/workflows/build-infra-dockers.yaml index cb7644c6d..3cb6e6941 100644 --- a/.github/workflows/build-infra-dockers.yaml +++ b/.github/workflows/build-infra-dockers.yaml @@ -7,7 +7,7 @@ on: - infra-* env: - GO_VERSION: "~1.23.0" + GO_VERSION: "~1.24.0" CGO_ENABLED: "0" BUILD_USER: docker BUILD_HOST: github.syncthing.net diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index fb8d94087..caf79feef 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -12,7 +12,7 @@ env: # The go version to use for builds. We set check-latest to true when # installing, so we get the latest patch version that matches the # expression. - GO_VERSION: "~1.23.0" + GO_VERSION: "~1.24.0" # Optimize compatibility on the slow archictures. GO386: softfloat @@ -48,7 +48,7 @@ jobs: runner: ["windows-latest", "ubuntu-latest", "macos-latest"] # The oldest version in this list should match what we have in our go.mod. # Variables don't seem to be supported here, or we could have done something nice. - go: ["~1.22.6", "~1.23.0"] + go: ["~1.23.0", "~1.24.0"] runs-on: ${{ matrix.runner }} steps: - name: Set git to use LF diff --git a/go.mod b/go.mod index 8d1ff468d..cbef04cee 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/syncthing/syncthing -go 1.22.0 +go 1.23.0 require ( github.com/AudriusButkevicius/recli v0.0.7-0.20220911121932-d000ce8fbf0f