diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fa88c0..9bbd943 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -141,7 +141,7 @@ jobs: path-to-profile: profile.cov - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --snapshot --skip=publish --clean diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 245ea36..41c07a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: run: git fetch --prune --unshallow - name: Release via goreleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: args: release env: diff --git a/.goreleaser.yml b/.goreleaser.yml index 32cb0bd..a8d018a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod download