Skip to content

Commit

Permalink
ci: Update coveralls after each push
Browse files Browse the repository at this point in the history
Signed-off-by: Heathcliff <[email protected]>
  • Loading branch information
heathcliff26 committed Jan 3, 2025
1 parent 370389f commit 5728430
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
permissions:
contents: read
with:
coveralls: true
coveralls: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}

validate:
uses: heathcliff26/ci/.github/workflows/golang-build.yaml@main
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/go-testcover-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ on:
workflow_dispatch:
push:
branches: ["main"]
paths:
- "*.go"
- "**/*.go"

jobs:
generate-reports:
uses: heathcliff26/ci/.github/workflows/golang-testcover-report.yaml@main
secrets: inherit
permissions: {}

coveralls:
uses: heathcliff26/ci/.github/workflows/golang-unit-tests.yaml@main
permissions:
contents: read
with:
coveralls: true

0 comments on commit 5728430

Please sign in to comment.