Run CI on push to main #11

Merged
s1d3sw1ped merged 9 commits from ci/test-on-push into main 2026-08-31 15:47:07 -05:00
Showing only changes of commit 3d3c74fdb2 - Show all commits
+6 -3
View File
@@ -1,6 +1,9 @@
name: PR Check
name: CI
on:
- pull_request
pull_request:
push:
branches:
- main
jobs:
check-and-test:
@@ -21,4 +24,4 @@ jobs:
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
- run: govulncheck ./...
- 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