From 05495a9cd11506bb6659454f4ded41e23ac05fca Mon Sep 17 00:00:00 2001 From: Christian Zunker <827818+czunker@users.noreply.github.com> Date: Tue, 31 Oct 2023 10:33:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20PR=20testing=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Zunker --- .github/workflows/pr-test-lint.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-test-lint.yaml b/.github/workflows/pr-test-lint.yaml index 22f9f37..afe9a53 100644 --- a/.github/workflows/pr-test-lint.yaml +++ b/.github/workflows/pr-test-lint.yaml @@ -56,6 +56,8 @@ 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: @@ -63,3 +65,4 @@ jobs: args: release --snapshot --skip-publish --rm-dist env: API_VERSION: x5.0 + CNSPEC_VERSION: ${{ env.CNSPEC_VERSION }}