mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user