Update .gitea/scoped_workflows/static-go.yaml
This commit is contained in:
@@ -34,17 +34,17 @@ jobs:
|
|||||||
GOTOOLCHAIN=local go install honnef.co/go/tools/cmd/staticcheck@latest
|
GOTOOLCHAIN=local go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
GOTOOLCHAIN=local go install golang.org/x/vuln/cmd/govulncheck@latest
|
GOTOOLCHAIN=local go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
|
|
||||||
- name: Run Go Vet
|
- name: Run go vet
|
||||||
id: static-go-vet
|
id: static-go-vet
|
||||||
if: always()
|
if: always()
|
||||||
run: go vet ./...
|
run: go vet ./...
|
||||||
|
|
||||||
- name: Run Go Staticcheck
|
- name: Run staticcheck
|
||||||
id: static-go-staticcheck
|
id: static-go-staticcheck
|
||||||
if: always()
|
if: always()
|
||||||
run: staticcheck ./...
|
run: staticcheck ./...
|
||||||
|
|
||||||
- name: Run Go Vuln Check
|
- name: Run govulncheck
|
||||||
id: static-go-govulncheck
|
id: static-go-govulncheck
|
||||||
if: always()
|
if: always()
|
||||||
run: govulncheck ./...
|
run: govulncheck ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user