File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed
Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,30 @@ permissions:
1313 contents : read
1414
1515env :
16- latest_go : " 1.23 .x"
16+ latest_go : " 1.24 .x"
1717 GO111MODULE : on
1818
1919jobs :
2020 test :
2121 strategy :
2222 matrix :
23- go :
24- - 1.23.x
25- - 1.22.x
26- runs-on : ubuntu-latest
27- name : Go ${{ matrix.go }}
23+ include :
24+ - job_name : Linux
25+ go : 1.24.x
26+ os : ubuntu-latest
27+ check_changelog : true
28+
29+ - job_name : Linux (race)
30+ go : 1.24.x
31+ os : ubuntu-latest
32+ test_opts : " -race"
33+
34+ - job_name : Linux
35+ go : 1.23.x
36+ os : ubuntu-latest
37+
38+ name : ${{ matrix.job_name }} Go ${{ matrix.go }}
39+ runs-on : ${{ matrix.os }}
2840
2941 env :
3042 GOPROXY : https://proxy.golang.org
4658
4759 - name : Run local Tests
4860 run : |
49- go test ./...
61+ go test -cover ${{matrix.test_opts}} ./...
5062
5163 - name : Check changelog files with calens
5264 run : |
5567
5668 echo "check changelog files"
5769 calens
70+ if : matrix.check_changelog
5871
5972 lint :
6073 name : lint
7689 uses : golangci/golangci-lint-action@v6
7790 with :
7891 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
79- version : v1.63.4
92+ version : v1.64.8
8093 args : --verbose --timeout 5m
8194
8295 # only run golangci-lint for pull requests, otherwise ALL hints get
You can’t perform that action at this time.
0 commit comments