Skip to content

Install gocover-cobertura. #10

Install gocover-cobertura.

Install gocover-cobertura. #10

name: Create Coverage
on: push
permissions: write-all
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.21.0'
- name: test
run: go test ./... -coverprofile=coverage.out
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
coverage-file: coverage.out
report: true
chart: true
amend: true
reuse-go: true