[#218] Add workflows to test go coverage actions #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... | |
- name: Update coverage report | |
uses: ncruces/go-coverage-report@v0 | |
with: | |
report: true | |
chart: true | |
amend: true | |
reuse-go: true | |