Skip to content

Commit

Permalink
build: Use correct range specification for Go version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
calmh committed Aug 9, 2023
1 parent 8dfec69 commit b347c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-syncthing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b347c14

Please sign in to comment.