Skip to content

Commit

Permalink
upgrade goreleaser to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 14, 2024
1 parent 19f6c14 commit e805bd8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: '>=1.23.0'
- uses: rhysd/action-setup-vim@v1
- uses: rhysd/action-setup-vim@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
- uses: goreleaser/goreleaser-action@v5
go-version: '>=1.23.0'
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 3 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
version: 2

release:
draft: false
prerelease: true

# No dependencies in this repo
#
# before:
# hooks:
# - go mod download

builds:
- id: macos
goos: [darwin]
Expand Down Expand Up @@ -47,4 +43,4 @@ archives:
format: zip

changelog:
skip: true
disable: true

0 comments on commit e805bd8

Please sign in to comment.