From 31c8f41ac7ea85b166abacca220793162db2e9cf Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 11 Sep 2024 09:45:36 -0400 Subject: [PATCH] fix: always run govulncheck using go stable Fixes: 420f7dfca441 (fix: ignore govulncheck for non-stable go version (#162)) --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9844728..5f54bba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,6 @@ on: jobs: govulncheck: - if: ${{ inputs.go_version == 'stable' || inputs.go-version == 'stable' }} runs-on: ubuntu-latest env: GH_PAT: ${{ secrets.gh_pat }} @@ -30,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: ${{ inputs.go_version || inputs.go-version }} + go-version: stable cache: true check-latest: true - run: |