1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-22 22:58:07 +00:00

Upgrade goreleaser to v1.7.0 (#1143)

This commit is contained in:
Huang Huang 2022-04-06 13:12:04 +08:00 committed by GitHub
parent 436141eac9
commit f445e33671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -92,8 +92,11 @@ jobs:
go-version: 1.16
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Dry-run release snapshot
uses: goreleaser/goreleaser-action@v2
with:
version: v0.169.0
distribution: goreleaser
version: v1.7.0
args: release --snapshot --skip-publish --rm-dist

View File

@ -20,6 +20,8 @@ jobs:
go-version: 1.16
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run unit tests
run: make tests
- name: Setup Kubernetes cluster (KIND)
@ -44,7 +46,8 @@ jobs:
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: v0.169.0
distribution: goreleaser
version: v1.7.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}