From e377516cc3d03fbbd18c0b4aa8faf465dab61e8d Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Fri, 27 Feb 2026 17:45:01 +0100 Subject: [PATCH] Fix security scan by using official gosec GitHub action --- .github/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 025fb23..2a26b03 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -93,9 +93,9 @@ jobs: go-version: '1.24' - name: Run Gosec Security Scanner - run: | - go install github.com/securecodewarrior/gosec/v2/cmd/gosec@latest - gosec -no-fail -fmt sarif -out results.sarif ./... + uses: securecodewarrior/github-action-gosec@master + with: + args: '-no-fail -fmt sarif -out results.sarif ./...' - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3