CI: Implement gosec

This commit is contained in:
kayos@tcp.direct 2022-07-09 11:13:09 -07:00
parent 4c4888ed2f
commit be4d0a9f94
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

View File

@ -1,4 +1,4 @@
name: Go
name: build-test-gosec
on:
push:
@ -18,3 +18,8 @@ jobs:
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: gosec ./...
run: | # https://github.com/securego/gosec/issues/469
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...