build(deps): bump goreleaser/goreleaser-action from 5 to 6 in the github group (#1573)

This commit is contained in:
dependabot[bot] 2024-06-18 12:33:38 +00:00 committed by GitHub
parent ef32e94769
commit 0bd8c1d974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -116,20 +116,20 @@ jobs:
- name: Run GoReleaser build - name: Run GoReleaser build
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
uses: goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: latest version: "~> v2"
args: release --clean --skip=validate --skip=publish --parallelism 5 args: release --clean --skip=validate --skip=publish --parallelism 5
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser build and publish tags - name: Run GoReleaser build and publish tags
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
uses: goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: latest version: "~> v2"
args: release --clean args: release --clean
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,3 +1,5 @@
version: 2
before: before:
hooks: hooks:
- go mod tidy - go mod tidy