Skip to content

Commit dfd967b

Browse files
committed
fix: Update GitHub Actions to non-deprecated versions
- Update actions/checkout from v3 to v4 - Update actions/setup-go from v4 to v5 - Update actions/upload-artifact from v3 to v4 - Update goreleaser/goreleaser-action from v4 to v6 This fixes the release workflow failure caused by deprecated action versions that GitHub automatically fails as of April 2024.
1 parent e03d348 commit dfd967b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020

2121
- name: Set up Go
22-
uses: actions/setup-go@v4
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: '1.21'
2525

2626
- name: Run tests
2727
run: go test -race ./...
2828

2929
- name: Run GoReleaser
30-
uses: goreleaser/goreleaser-action@v4
30+
uses: goreleaser/goreleaser-action@v6
3131
with:
3232
distribution: goreleaser
3333
version: latest
@@ -36,7 +36,7 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Upload assets
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: dist
4242
path: dist/

0 commit comments

Comments
 (0)