From e782046b47cd46cc726e614353582999d9c2d844 Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Mon, 1 Jul 2024 04:35:27 +0100 Subject: [PATCH] Scan both v1 and v2 for vulnerabilities (#139) Signed-off-by: Mark S. Lewis --- .github/workflows/vulnerability-scan.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index c164a2a..ed09b9f 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -6,7 +6,19 @@ on: workflow_dispatch: jobs: - govulncheck: + v1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: stable + check-latest: true + - name: Scan + run: make -f Makefile.v1 scan + + v2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4