ci: change to codecov binary instead of bash uploader #12

Merged
argoyle merged 1 commits from codecov into main 2021-11-17 05:16:41 +00:00
+3 -5
View File
@@ -25,8 +25,6 @@ test:
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
- go tool cover -html=coverage.txt -o coverage.html
- go tool cover -func=coverage.txt
- bash <(curl -s https://codecov.io/bash)
artifacts:
paths:
- coverage.html
- coverage.txt
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN}