19
19
- uses : actions/checkout@v4
20
20
- uses : actions/setup-go@v4
21
21
with :
22
- go-version : " ~1.21 "
22
+ go-version-file : go.mod
23
23
check-latest : true
24
24
- run : make deps-backend deps-tools
25
25
- run : make lint-backend
72
72
- uses : actions/checkout@v4
73
73
- uses : actions/setup-go@v4
74
74
with :
75
- go-version : " ~1.21 "
75
+ go-version-file : go.mod
76
76
check-latest : true
77
77
- run : make deps-backend deps-tools
78
78
- run : make lint-go-windows lint-go-vet
89
89
- uses : actions/checkout@v4
90
90
- uses : actions/setup-go@v4
91
91
with :
92
- go-version : " ~1.21 "
92
+ go-version-file : go.mod
93
93
check-latest : true
94
94
- run : make deps-backend deps-tools
95
95
- run : make lint-go
@@ -104,7 +104,7 @@ jobs:
104
104
- uses : actions/checkout@v4
105
105
- uses : actions/setup-go@v4
106
106
with :
107
- go-version : " ~1.21 "
107
+ go-version-file : go.mod
108
108
check-latest : true
109
109
- run : make deps-backend deps-tools
110
110
- run : make --always-make checks-backend # ensure the "go-licenses" make target runs
@@ -132,7 +132,7 @@ jobs:
132
132
- uses : actions/checkout@v4
133
133
- uses : actions/setup-go@v4
134
134
with :
135
- go-version : " ~1.21 "
135
+ go-version-file : go.mod
136
136
check-latest : true
137
137
# no frontend build here as backend should be able to build
138
138
# even without any frontend files
@@ -176,4 +176,7 @@ jobs:
176
176
steps :
177
177
- uses : actions/checkout@v4
178
178
- uses : actions/setup-go@v4
179
+ with :
180
+ go-version-file : go.mod
181
+ check-latest : true
179
182
- run : make lint-actions
0 commit comments