Skip to content

Commit 8ed53cc

Browse files
committed
Updated
1 parent 1bf8d54 commit 8ed53cc

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/goreleaser.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff 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 }}
@@ -43,7 +32,7 @@ jobs:
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

0 commit comments

Comments
 (0)