From d04d65c68312dd81ff0cf0396c76c21f14b591be Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Fri, 4 Apr 2025 09:06:37 +0100 Subject: [PATCH] Setup Go for vulnerability scan Go is still needed to run the vulnerability scan successfully on v2.5.5 and earlier. Signed-off-by: Mark S. Lewis --- .github/workflows/scan.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 8b648f14..b0754fd5 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -19,6 +19,10 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} + - uses: actions/setup-go@v5 # Needed for scanning of v2.5.5 and earlier + with: + go-version: stable + cache: false - uses: actions/setup-java@v4 with: distribution: temurin