File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed
Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,12 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Check out code into the Go module directory
14- uses : actions/checkout@v4
14+ uses : actions/checkout@v6
1515
1616 - name : Set up Go
17- uses : actions/setup-go@v4
17+ uses : actions/setup-go@v6
1818 with :
19- go-version : 1.21
20-
21- - name : Use cache
22- uses : actions/cache@v3
23- with :
24- path : ~/go/pkg/mod
25- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
26- restore-keys : |
27- ${{ runner.os }}-go-
28-
29- - name : Download Modules
30- if : steps.cache.outputs.cache-hit != 'true'
31- run : go mod download
19+ go-version : ' 1.25'
3220
3321 - name : Build
3422 run : |
Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ jobs:
1111 steps :
1212 -
1313 name : Checkout
14- uses : actions/checkout@v4
14+ uses : actions/checkout@v6
1515 -
1616 name : Unshallow
1717 run : git fetch --prune --unshallow
1818 -
1919 name : Set up Go
20- uses : actions/setup-go@v4
20+ uses : actions/setup-go@v6
2121 with :
22- go-version : 1.21
22+ go-version : ' 1.25 '
2323 -
2424 name : Run GoReleaser
25- uses : goreleaser/goreleaser-action@v4
25+ uses : goreleaser/goreleaser-action@v6
2626 with :
2727 version : latest
28- args : release --rm-dist
28+ args : release --clean
2929 key : ${{ secrets.YOUR_PRIVATE_KEY }}
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments