Update .gitea/scoped_workflows/static-go.yaml

This commit is contained in:
alu
2026-08-19 23:08:19 +00:00
parent 271d08f86a
commit a91c56b0e6
+8 -1
View File
@@ -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