Skip to content

Commit

Permalink
Update gh-actions (#331).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed Aug 6, 2024
1 parent 606124f commit 385dd4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
goreleaser:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: stable
-
name: Set up Snapcraft
run: |
Expand All @@ -42,7 +42,7 @@ jobs:
git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean --verbose
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Goreleaser documentation can be found at http://goreleaser.com
version: 2
before:
hooks:
- go mod download
Expand Down

0 comments on commit 385dd4f

Please sign in to comment.