Skip to content

Commit

Permalink
fix: update goreleaser to v2, use supported action (#112)
Browse files Browse the repository at this point in the history
- Update goreleaser to v2
- Update goreleaser action to v6. Replaces #111
- Update relase-please to supported version which was migrated to `googleapis`
  project.
- Update go minor version to 1.22.3
  • Loading branch information
derektamsen committed Jun 11, 2024
1 parent 93ae0c0 commit 00ece7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
releases_created: ${{ steps.release.outputs.releases_created }}
steps:
- id: release
uses: google-github-actions/release-please-action@v4
uses: googleapis/release-please-action@v4
with:
release-type: simple

Expand All @@ -40,10 +40,10 @@ jobs:
sudo apt update && sudo apt install -y libcryptsetup-dev
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/square/luks2crypt

go 1.22.0
go 1.22.3

require (
github.com/diskfs/go-diskfs v1.4.0
Expand Down

0 comments on commit 00ece7d

Please sign in to comment.