diff --git a/.gitea/workflows/test-pr.yaml b/.gitea/workflows/test-pr.yaml index 770fef5..3463a7f 100644 --- a/.gitea/workflows/test-pr.yaml +++ b/.gitea/workflows/test-pr.yaml @@ -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 \ No newline at end of file + - run: go tool cover -func=coverage.out | tail -10 # basic coverage report