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: ./...