Run CI on push to main #11
@@ -21,7 +21,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: --timeout=5m
|
args: --timeout=5m
|
||||||
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
- run: GOTOOLCHAIN=auto go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
- run: govulncheck ./...
|
- run: govulncheck ./...
|
||||||
- run: go test -race -v -shuffle=on -coverprofile=coverage.out -timeout=5m ./...
|
- run: go test -race -v -shuffle=on -coverprofile=coverage.out -timeout=5m ./...
|
||||||
- run: go tool cover -func=coverage.out | tail -10 # basic coverage report
|
- run: go tool cover -func=coverage.out | tail -10 # basic coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user