diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 1545fd8..d3d895b 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -7,7 +7,6 @@ env: GOPROXY: https://goproxy.io,direct GOPATH: /home/rootless/go_path GOCACHE: /home/rootless/go_cache - CGO_ENABLED: 1 jobs: lint: @@ -40,5 +39,7 @@ jobs: run: go install golang.org/x/lint/golint@latest && golint ./... - name: vet run: go vet + env: + CGO_ENABLED: 1 - name: test run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...