From f896a39f3e3e20ee003cb9fbd712a742bd97c3a8 Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Wed, 8 May 2024 14:24:33 +0100 Subject: [PATCH] Update Go version used for vulnerability scan (#198) Run vulnerability scan with latest currently suported Go release to avoid failures caused by old standard library versions. Also remove deprecated `skip-pkg-cache` argument from golangci-lint-action. Signed-off-by: Mark S. Lewis --- .github/workflows/golang.yml | 1 - .github/workflows/vulnerability-scan.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 61508e9..dac9dad 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -31,7 +31,6 @@ jobs: uses: golangci/golangci-lint-action@v6 with: version: latest - skip-pkg-cache: true end-to-end: runs-on: ubuntu-latest diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index fdea73d..f20ce31 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: stable check-latest: true - name: Scan run: make scan-go-${{ matrix.target }}