diff options
author | Jakob Borg <jakob@kastelo.net> | 2023-08-09 16:04:13 +0200 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2023-08-09 16:05:11 +0200 |
commit | b347c14bd19a29e453d53da96a522125d5b6b238 (patch) | |
tree | 097c9bf17ac6418b670aed94b9df9f4fb8250f65 /.github | |
parent | 8dfec6983b37b5cba48636ea548de752245c7f46 (diff) | |
download | syncthing-b347c14bd19a29e453d53da96a522125d5b6b238.tar.gz syncthing-b347c14bd19a29e453d53da96a522125d5b6b238.zip |
build: Use correct range specification for Go version
The old `^1.20.7` means `1.x.y, >= 1.20.7` which allows 1.21.0, which
was not intended. The new `~1.20.7` means `1.20.x, >= 1.20.7`, which is
safer.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-syncthing.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 0659d5cc3..35ed2827c 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.20.7" + GO_VERSION: "~1.20.7" # Optimize compatibility on the slow archictures. GO386: softfloat |