From 38dd4a7fea06885510355bfaef5641a8a82073f4 Mon Sep 17 00:00:00 2001 From: Robert Sirchia Date: Fri, 30 Aug 2024 16:31:11 -0400 Subject: [PATCH] moving govulncheck to a seperate job Signed-off-by: Robert Sirchia --- .github/workflows/build-test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ab7f894ab..0b98c8da6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -3,8 +3,6 @@ on: push: pull_request: - - jobs: build: runs-on: ubuntu-latest @@ -21,7 +19,15 @@ jobs: run: make test-coverage - name: Test build run: make build - - name: Run govulncheck + govulncheck: + name: govulncheck + runs-on: ubuntu-latest + steps: + - name: Setup Go + uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2 + with: + go-version: '1.22' + - name: govulncheck uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3 with: go-package: ./... \ No newline at end of file