Skip to content

Commit

Permalink
🐛 Fix PR testing (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker authored Oct 31, 2023
1 parent e9b1c47 commit 05495a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-test-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:
run: |
# Only use sudo on self-hosted runners
sudo apt install -y zip
- name: Set cnspec version
run: echo "CNSPEC_VERSION=$(go list -json -m go.mondoo.com/cnspec/v9 | jq -r '.Version')" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --snapshot --skip-publish --rm-dist
env:
API_VERSION: x5.0
CNSPEC_VERSION: ${{ env.CNSPEC_VERSION }}

0 comments on commit 05495a9

Please sign in to comment.