File tree Expand file tree Collapse file tree 1 file changed +6
-27
lines changed
Expand file tree Collapse file tree 1 file changed +6
-27
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 test :
19- strategy :
20- matrix :
21- go-version : [1.23.x]
22- os : [ubuntu-latest]
23- runs-on : ${{ matrix.os }}
19+ runs-on : ubuntu-latest
2420
2521 steps :
26- - name : Install Go
27- uses : actions/setup-go@v4
28- with :
29- go-version : ${{ matrix.go-version }}
30-
3122 - name : Checkout code
32- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
3324
34- # cache go modules
35- - uses : actions/cache@v3
25+ - name : Install Go
26+ uses : actions/setup-go@v5
3627 with :
37- # In order:
38- # * Module download cache
39- # * Build cache (Linux)
40- # * Build cache (Mac)
41- # * Build cache (Windows)
42- path : |
43- ~/go/pkg/mod
44- ~/.cache/go-build
45- ~/Library/Caches/go-build
46- %LocalAppData%\go-build
47- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
48- restore-keys : |
49- ${{ runner.os }}-go-
28+ go-version-file : go.mod
5029
5130 - name : Downloads the dependencies
5231 run : make download
5534 run : make lint
5635
5736 - name : Runs all tests
58- run : make test
37+ run : make test
You can’t perform that action at this time.
0 commit comments