1919 - uses : actions/checkout@v4
2020 - uses : actions/setup-go@v4
2121 with :
22- go-version : " ~1.21 "
22+ go-version-file : go.mod
2323 check-latest : true
2424 - run : make deps-backend deps-tools
2525 - run : make lint-backend
7272 - uses : actions/checkout@v4
7373 - uses : actions/setup-go@v4
7474 with :
75- go-version : " ~1.21 "
75+ go-version-file : go.mod
7676 check-latest : true
7777 - run : make deps-backend deps-tools
7878 - run : make lint-go-windows lint-go-vet
8989 - uses : actions/checkout@v4
9090 - uses : actions/setup-go@v4
9191 with :
92- go-version : " ~1.21 "
92+ go-version-file : go.mod
9393 check-latest : true
9494 - run : make deps-backend deps-tools
9595 - run : make lint-go
@@ -104,7 +104,7 @@ jobs:
104104 - uses : actions/checkout@v4
105105 - uses : actions/setup-go@v4
106106 with :
107- go-version : " ~1.21 "
107+ go-version-file : go.mod
108108 check-latest : true
109109 - run : make deps-backend deps-tools
110110 - run : make --always-make checks-backend # ensure the "go-licenses" make target runs
@@ -132,7 +132,7 @@ jobs:
132132 - uses : actions/checkout@v4
133133 - uses : actions/setup-go@v4
134134 with :
135- go-version : " ~1.21 "
135+ go-version-file : go.mod
136136 check-latest : true
137137 # no frontend build here as backend should be able to build
138138 # even without any frontend files
@@ -176,4 +176,7 @@ jobs:
176176 steps :
177177 - uses : actions/checkout@v4
178178 - uses : actions/setup-go@v4
179+ with :
180+ go-version-file : go.mod
181+ check-latest : true
179182 - run : make lint-actions
0 commit comments