Skip to content

Commit a580f80

Browse files
committed
Add gosec to ci
1 parent a364901 commit a580f80

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
- name: Run unit tests
2222
run: go test ./... -cover
2323

24-
- name: Exit
25-
run: (exit 0)
26-
24+
- name: Install gosec
25+
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
26+
27+
- name: Run gosec
28+
run: gosec ./...
29+
2730
style:
2831
name: Style
2932
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)