mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Coverage action.
This commit is contained in:
9
.github/workflows/go.yml
vendored
9
.github/workflows/go.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user