@@ -31,13 +31,12 @@ jobs:
3131 steps :
3232 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
3333
34- # TODO: uncomment when we bump to go1.22 in go.mod
35- # - name: Extract version of Go to use
36- # run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
34+ - name : Extract version of Go to use
35+ run : echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
3736
3837 - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3938 with :
40- go-version : ' 1.22 '
39+ go-version : ' ${{ env.GOVERSION }} '
4140 check-latest : true
4241
4342 - name : Install addlicense
@@ -58,33 +57,31 @@ jobs:
5857 - name : deps
5958 run : sudo apt-get update && sudo apt-get install -yq libpcsclite-dev
6059
61- # TODO: uncomment when we bump to go1.22 in go.mod
62- # - name: Extract version of Go to use
63- # run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
60+ - name : Extract version of Go to use
61+ run : echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
6462
6563 - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
6664 with :
67- go-version : ' 1.22 '
65+ go-version : ' ${{ env.GOVERSION }} '
6866 check-latest : true
6967
7068 - name : golangci-lint
7169 uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
7270 with :
73- version : v1.60
71+ version : v1.61
7472
7573 oidc-config :
7674 name : oidc-config
7775 runs-on : ubuntu-latest
7876 steps :
7977 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
8078
81- # TODO: uncomment when we bump to go1.22 in go.mod
82- # - name: Extract version of Go to use
83- # run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
79+ - name : Extract version of Go to use
80+ run : echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | cut -d '@' -f 1 | cut -d ':' -f 2 | uniq)" >> $GITHUB_ENV
8481
8582 - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
8683 with :
87- go-version : ' 1.22 '
84+ go-version : ' ${{ env.GOVERSION }} '
8885 check-latest : true
8986
9087 - name : check-config
0 commit comments