diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9721a982..c04eafcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: tags: - "v*" + jobs: goreleaser: runs-on: ubuntu-latest @@ -23,7 +24,7 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3.1.0 with: version: latest args: release --rm-dist diff --git a/.goreleaser b/.goreleaser.yaml similarity index 96% rename from .goreleaser rename to .goreleaser.yaml index bcf16e53..8f21dbb7 100644 --- a/.goreleaser +++ b/.goreleaser.yaml @@ -1,6 +1,6 @@ - -hooks: - - go mod tidy +before: + hooks: + - go mod tidy builds: - env: - CGO_ENABLED=0