File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,13 @@ jobs:
1818 os : [ubuntu-latest, macos-latest, windows-latest]
1919 runs-on : ${{ matrix.os }}
2020 steps :
21- - name : Install Go
22- uses : actions/setup-go@v3
23- with :
24- go-version : ${{ matrix.go-version }}
25-
2621 - name : Checkout code
27- uses : actions/checkout@v3
22+ uses : actions/checkout@v4
2823
29- - name : Restore Cache
30- uses : actions/cache@v3
24+ - name : Install Go
25+ uses : actions/setup-go@v5
3126 with :
32- path : ~/go/pkg/mod
33- key : ${{ runner.os }}-v1-go-${{ hashFiles('**/go.sum') }}
34- restore-keys : |
35- ${{ runner.os }}-v1-go-
27+ go-version : ${{ matrix.go-version }}
3628
3729 - name : Test
3830 run : go test -race -cover ./...
4133 name : lint
4234 runs-on : ubuntu-latest
4335 steps :
44- - uses : actions/checkout@v3
36+ - uses : actions/checkout@v4
37+ - uses : actions/setup-go@v5
38+ with :
39+ go-version : stable
4540 - name : golangci-lint
4641 uses : golangci/golangci-lint-action@v3
4742 with :
You can’t perform that action at this time.
0 commit comments