Skip to content

Commit

Permalink
use separate job with specific permissions for coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Crocmagnon committed Oct 30, 2024
1 parent db40be2 commit e1e94fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
run: go build -v ./...
- name: Test
run: make test
coverage:
name: coverage
permissions:
contents: write
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
Expand Down

0 comments on commit e1e94fa

Please sign in to comment.