Skip to content

Commit 9eac730

Browse files
prometherionmaxgio92
authored andcommitted
fix(ci): go setup for gosec
Signed-off-by: Dario Tranchitella <[email protected]>
1 parent d91cbee commit 9eac730

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/scan-code.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
steps:
1919
- name: Checkout Source
2020
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
22+
with:
23+
go-version-file: go.mod
2124
- name: Run Gosec Security Scanner
22-
uses: securego/gosec@55d79496019a560e16e73e1948dee20a1fad631a # v2.18.2
25+
uses: securego/gosec@d4617f51baf75f4f809066386a4f9d27b3ac3e46 # v2.21.4
2326
with:
2427
args: ./...

0 commit comments

Comments
 (0)