Explorar o código

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.
Jakob Borg %!s(int64=2) %!d(string=hai) anos
pai
achega
b347c14bd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/workflows/build-syncthing.yaml

+ 1 - 1
.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