From 2669dbdb30d680f8a375b86e21c41b0b333f6893 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Thu, 12 Dec 2024 17:13:20 +0100 Subject: [PATCH] fix(ci): go setup for gosec Signed-off-by: Dario Tranchitella --- .github/workflows/scan-code.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scan-code.yml b/.github/workflows/scan-code.yml index ecbe6a3..d91e8ec 100644 --- a/.github/workflows/scan-code.yml +++ b/.github/workflows/scan-code.yml @@ -18,7 +18,10 @@ jobs: steps: - name: Checkout Source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 + with: + go-version-file: go.mod - name: Run Gosec Security Scanner - uses: securego/gosec@55d79496019a560e16e73e1948dee20a1fad631a # v2.18.2 + uses: securego/gosec@d4617f51baf75f4f809066386a4f9d27b3ac3e46 # v2.21.4 with: args: ./...