ci: ensure we always use the latest patch version of golang (#3350)

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig 2026-02-26 14:48:35 +01:00 committed by GitHub
parent 06f1234b69
commit 788f3d0e1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Get Go version
run: |
version=$(grep "^go " go.mod | cut -d' ' -f2)
version=$(grep "^go " go.mod | cut -d' ' -f2 | cut -d. -f1,2)
echo "version=${version}" >> "$GITHUB_OUTPUT"
id: go-version

View File

@ -45,7 +45,7 @@ jobs:
- name: Get Go version
run: |
version=$(grep "^go " go.mod | cut -d' ' -f2)
version=$(grep "^go " go.mod | cut -d' ' -f2 | cut -d. -f1,2)
echo "version=${version}" >> "$GITHUB_OUTPUT"
id: go-version