@@ -31,13 +31,12 @@ jobs:
31
31
steps :
32
32
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
33
33
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
37
36
38
37
- uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
39
38
with :
40
- go-version : ' 1.22 '
39
+ go-version : ' ${{ env.GOVERSION }} '
41
40
check-latest : true
42
41
43
42
- name : Install addlicense
@@ -58,33 +57,31 @@ jobs:
58
57
- name : deps
59
58
run : sudo apt-get update && sudo apt-get install -yq libpcsclite-dev
60
59
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
64
62
65
63
- uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
66
64
with :
67
- go-version : ' 1.22 '
65
+ go-version : ' ${{ env.GOVERSION }} '
68
66
check-latest : true
69
67
70
68
- name : golangci-lint
71
69
uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
72
70
with :
73
- version : v1.60
71
+ version : v1.61
74
72
75
73
oidc-config :
76
74
name : oidc-config
77
75
runs-on : ubuntu-latest
78
76
steps :
79
77
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
80
78
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
84
81
85
82
- uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
86
83
with :
87
- go-version : ' 1.22 '
84
+ go-version : ' ${{ env.GOVERSION }} '
88
85
check-latest : true
89
86
90
87
- name : check-config
0 commit comments