.woodpecker/check.yml aktualisiert

This commit is contained in:
Phil 2024-04-19 16:13:09 +02:00
parent 72aeb9e6aa
commit a6a3910816

View file

@ -1,9 +1,10 @@
steps: steps:
- name: check-format - name: check-format
image: golang:alpine image: golang
environment: environment:
- CGO_ENABLED=1 - CGO_ENABLED=1
commands: commands:
- apk add --no-cache gcc
- go fmt $(go list ./... | grep -v /vendor/) - go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor/) - go test -race $(go list ./... | grep -v /vendor/)