1010 go-version : 1.19.1
1111
1212 steps :
13- - uses : actions/checkout@v2
14- # Note: golangci/golangci-lint-action caches. Should not use actions/cache@v2 otherwise result in so many "File exists"
15- - uses : actions/setup-go@v2
13+ - uses : actions/checkout@v3
14+ # Note: golangci/golangci-lint-action caches. Should not use actions/cache@v3 otherwise result in so many "File exists"
15+ - uses : actions/setup-go@v3
1616 with :
1717 go-version : ${{ env.go-version }}
1818 - name : generate
2424 - name : golangci-lint
2525 uses : golangci/golangci-lint-action@v3
2626 with :
27- version : v1.46.2
27+ version : v1.49.0
2828 working-directory : server
2929 skip-pkg-cache : true
3030 - name : Other Lint
@@ -55,14 +55,14 @@ jobs:
5555 --health-retries 10
5656
5757 steps :
58- - uses : actions/checkout@v2
59- - uses : actions/cache@v2
58+ - uses : actions/checkout@v3
59+ - uses : actions/cache@v3
6060 with :
6161 path : /go/pkg/mod # Not ~/go/pkg/mod because "container" is active.
6262 key : ${{ runner.os }}-server-gomod-${{ hashFiles('server/go.sum') }}
6363 restore-keys : |
6464 ${{ runner.os }}-server-gomod-
65- - uses : actions/setup-go@v2
65+ - uses : actions/setup-go@v3
6666 with :
6767 go-version : ${{ matrix.go-version }}
6868 - name : Test
7878 run : |
7979 curl -s https://codecov.io/bash > codecov.sh
8080 bash codecov.sh
81- - uses : actions/upload-artifact@v2
81+ - uses : actions/upload-artifact@v3
8282 with :
8383 name : coverage.html
8484 path : server/coverage.html
@@ -91,13 +91,13 @@ jobs:
9191 go-version : 1.19.1
9292
9393 steps :
94- - uses : actions/checkout@v2
95- # Note: golangci/golangci-lint-action caches. Should not use actions/cache@v2 otherwise result in so many "File exists"
96- - uses : actions/setup-go@v2
94+ - uses : actions/checkout@v3
95+ # Note: golangci/golangci-lint-action caches. Should not use actions/cache@v3 otherwise result in so many "File exists"
96+ - uses : actions/setup-go@v3
9797 with :
9898 go-version : ${{ env.go-version }}
9999 - name : build
100- uses : goreleaser/goreleaser-action@v2
100+ uses : goreleaser/goreleaser-action@v3
101101 with :
102102 version : latest
103103 workdir : server
0 commit comments