aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2024-02-09 16:35:29 +0100
committerGitHub <noreply@github.com>2024-02-09 16:35:29 +0100
commitfc8b353011c1cd8b5bd6216fcdc60e3777a00c64 (patch)
tree2c92f0f60b24ba3106aa8cb10f63b5f830e0cd84 /.github
parent416b9e8924a99a01520aaa08ee60050eaf200dc8 (diff)
downloadsyncthing-fc8b353011c1cd8b5bd6216fcdc60e3777a00c64.tar.gz
syncthing-fc8b353011c1cd8b5bd6216fcdc60e3777a00c64.zip
build: Use Go 1.22, minimum is Go 1.21 (#9408)
Also updated dependencies, and an adjustment to build tags for how those are handled and how irrelevant go1.15 is nowadays...
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-infra-dockers.yaml2
-rw-r--r--.github/workflows/build-syncthing.yaml4
-rw-r--r--.github/workflows/update-docs-translations.yaml2
3 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build-infra-dockers.yaml b/.github/workflows/build-infra-dockers.yaml
index 9af9fc990..d785153a4 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.21.5"
+ GO_VERSION: "~1.22.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 1b24b01a3..72a60e1a1 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.21.5"
+ GO_VERSION: "~1.22.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.20.12", "~1.21.5"]
+ go: ["~1.21.7", "~1.22.0"]
runs-on: ${{ matrix.runner }}
steps:
- name: Set git to use LF
diff --git a/.github/workflows/update-docs-translations.yaml b/.github/workflows/update-docs-translations.yaml
index 6bc97e59d..e79fb060d 100644
--- a/.github/workflows/update-docs-translations.yaml
+++ b/.github/workflows/update-docs-translations.yaml
@@ -16,7 +16,7 @@ jobs:
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- uses: actions/setup-go@v5
with:
- go-version: ^1.19.6
+ go-version: stable
- run: |
set -euo pipefail
git config --global user.name 'Syncthing Release Automation'