Skip to content

WIP

WIP #558

Workflow file for this run

# GitHub Actions - CI for Go to build & test. See ci-go-cover.yml and linters.yml for code coverage and linters.
# Taken from: https://github.com/fxamacker/cbor/workflows/ci.yml (thanks!)
name: ci
on: [push, pull_request]
jobs:
# Test on various OS with default Go version.
tests:
name: Test on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Install mockgen
run: |
go install github.com/golang/mock/[email protected]
- name: Build project
run: go build ./...
- name: Run tests
run: |
go version
make test