Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
- Update checkout, setup-go, and goreleaser-action
- Use --clean instead of --rm-dist (obsolete)
  • Loading branch information
karlkfi committed Jul 2, 2024
1 parent 012918b commit 9ebe810
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist -f release/goreleaser.yml
args: release --clean -f release/goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9ebe810

Please sign in to comment.