File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,14 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v2
17+ uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
2020 - name : Set up Go
21- uses : actions/setup-go@v2
22- with :
23- go-version : 1.21
24- - name : Cache-Go
25- uses : actions/cache@v1
26- with :
27- path : |
28- ~/go/pkg/mod # Module download cache
29- ~/.cache/go-build # Build cache (Linux)
30- ~/Library/Caches/go-build # Build cache (Mac)
31- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
32- restore-keys : |
33- ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
21+ uses : actions/setup-go@v5
22+
3423 - name : Login to GitHub Container Registry
35- uses : docker/login-action@v2
24+ uses : docker/login-action@v3
3625 with :
3726 registry : ghcr.io
3827 username : ${{ github.actor }}
4332 - name : Test
4433 run : go test ./...
4534 - name : Run GoReleaser
46- uses : goreleaser/goreleaser-action@v4
35+ uses : goreleaser/goreleaser-action@v6
4736 with :
4837 distribution : goreleaser
4938 version : latest
You can’t perform that action at this time.
0 commit comments