Skip to content

Commit f070e97

Browse files
committedJan 31, 2024
Add gosec
1 parent 79bdb87 commit f070e97

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎.github/workflows/dependency-review.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v3
19-
- uses: securego/gosec@master
19+
- uses: actions/setup-go@4.0.0
2020
with:
21-
args: -exclude=G101,G103,G204 ./...
21+
go-version: '1.21.6'
22+
- run: go install github.com/securego/gosec/v2/cmd/gosec@latest
23+
- run: gosec -exclude=G101,G103,G204 ./...
2224
working-directory: nodeadm
2325
govulncheck:
2426
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)