Skip to content

Experiment with badge name #7

Experiment with badge name

Experiment with badge name #7

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 -v ./... -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
badge-title: "coverage-with-report-action"