mirror of
https://github.com/Crocmagnon/fatcontext.git
synced 2024-11-15 12:44:01 +01:00
use separate job with specific permissions for coverage report
This commit is contained in:
parent
db40be2dee
commit
e1e94fa7d4
1 changed files with 7 additions and 0 deletions
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue