File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -20,25 +20,35 @@ on: [pull_request]
2020jobs :
2121 build :
2222 runs-on : ubuntu-latest
23+ strategy :
24+ matrix :
25+ go-version : [ '1.20', '1.21', '1.22' ]
2326 steps :
2427 - uses : actions/checkout@v3
25- - uses : actions/setup-go@v3
28+ - uses : actions/setup-go@v5
29+ with :
30+ go-version : ${{ matrix.go-version }}
2631 - run : make build
2732
2833 lint :
2934 runs-on : ubuntu-latest
3035 steps :
3136 - uses : actions/checkout@v3
37+ - uses : actions/setup-go@v5
38+ with :
39+ go-version : ' stable'
3240 - name : Check license header
3341 run : docker run --rm -v $(pwd):/github/workspace ghcr.io/korandoru/hawkeye-native:v3 check
3442 - name : Run golangci-lint
35- run : make lint
43+ uses : golangci/golangci-lint-action@v6
44+ with :
45+ version : v1.59
3646
3747 integration-tests :
3848 runs-on : ubuntu-latest
3949 strategy :
4050 matrix :
41- go-version : ['1.20', '1.21.0 ', '1.22.0' ]
51+ go-version : [ '1.20', '1.21', '1.22' ]
4252 steps :
4353 - uses : actions/checkout@v3
4454 - name : clean docker cache
You can’t perform that action at this time.
0 commit comments