Skip to content

Commit e1e94fa

Browse files
committed
use separate job with specific permissions for coverage report
1 parent db40be2 commit e1e94fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
run: go build -v ./...
3030
- name: Test
3131
run: make test
32+
coverage:
33+
name: coverage
34+
permissions:
35+
contents: write
36+
runs-on: ubuntu-latest
37+
needs: [build]
38+
steps:
3239
- name: Update coverage report
3340
uses: ncruces/go-coverage-report@v0
3441
with:

0 commit comments

Comments
 (0)