mmv/.github/workflows/ci.yaml

26 lines
449 B
YAML

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.x
- name: Test
run: make test
- name: Lint
run: make lint