Coverage action.

This commit is contained in:
Nuno Cruces
2023-01-27 15:50:21 +00:00
parent 652a74fa8b
commit f4125bcd93
5 changed files with 6 additions and 1693 deletions

View File

@@ -1,6 +1,3 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
@@ -22,10 +19,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: stable
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- if: matrix.os == 'ubuntu-latest'
name: Update coverage report
uses: ncruces/go-coverage-report@main