Skip to content

Workflow file for this run

name: Test and coverage
on:
push:
paths:
- '**.go'
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: go get
run: go get ./...
- name: go mod tidy
run: go mod tidy