.woodpecker/check.yml hinzugefügt
This commit is contained in:
parent
ba3d45c97a
commit
ab3191995a
1 changed files with 14 additions and 0 deletions
14
.woodpecker/check.yml
Normal file
14
.woodpecker/check.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
steps:
|
||||
- name: check-format
|
||||
image: golang:alpine
|
||||
commands:
|
||||
- go fmt $(go list ./... | grep -v /vendor/)
|
||||
- go vet $(go list ./... | grep -v /vendor/)
|
||||
- go test -race $(go list ./... | grep -v /vendor/)
|
||||
|
||||
- name: check-sec
|
||||
image: golang
|
||||
commands:
|
||||
- go install github.com/securego/gosec/v2/cmd/gosec@latest
|
||||
- go get -v -d .
|
||||
- gosec ./...
|
Loading…
Add table
Reference in a new issue