Files
sqlite3/.github/workflows/go.yml
Nuno Cruces 4597acc49d Tests.
2023-02-08 00:00:53 +00:00

35 lines
620 B
YAML

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: stable
cache: true
- 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
continue-on-error: true