diff --git a/.gitea/scoped_workflows/static-go.yaml b/.gitea/scoped_workflows/static-go.yaml index f816cfa..e4d026e 100644 --- a/.gitea/scoped_workflows/static-go.yaml +++ b/.gitea/scoped_workflows/static-go.yaml @@ -32,6 +32,7 @@ jobs: run: | go get . GOTOOLCHAIN=local go install honnef.co/go/tools/cmd/staticcheck@latest + GOTOOLCHAIN=local go install golang.org/x/vuln/cmd/govulncheck@latest - name: Run Go Vet id: static-go-vet @@ -43,8 +44,14 @@ jobs: if: always() run: staticcheck ./... + - name: Run Go Vuln Check + id: static-go-govulncheck + if: always() + run: govulncheck ./... + - name: Verify Static Analysis if: > steps.static-go-vet.outcome != 'success' || - steps.static-go-staticcheck.outcome != 'success' + steps.static-go-staticcheck.outcome != 'success' || + steps.static-go-govulncheck != 'success' run: exit 1 \ No newline at end of file