Skip to content

Commit

Permalink
[ignore] Added Dry-Run GoReleaser check step to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samiib authored and lhercot committed Jul 9, 2024
1 parent 854bd12 commit 856314d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ jobs:
- name: Check generated code for diffs
run: git diff --exit-code

go-releaser:
name: Dry-Run GoReleaser Check
needs: [build, diff]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Unshallow
run: git fetch --prune --unshallow
- uses: actions/setup-go@v5
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
install-only: true
version: latest
- name: GoReleaser Release Check
run: goreleaser release --skip=publish,sign --snapshot --clean

acceptance:
name: Acceptance Tests
if: github.repository_owner == 'CiscoDevNet'
Expand Down

0 comments on commit 856314d

Please sign in to comment.