diff --git a/.woodpecker/check.yml b/.woodpecker/check.yml index eab3f58..f5d89b7 100644 --- a/.woodpecker/check.yml +++ b/.woodpecker/check.yml @@ -1,9 +1,10 @@ steps: - name: check-format - image: golang:alpine + image: golang environment: - CGO_ENABLED=1 commands: + - apk add --no-cache gcc - go fmt $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/) - go test -race $(go list ./... | grep -v /vendor/)