mmv/.github/workflows/ci.yaml
2020-01-16 20:45:38 +09:00

24 lines
507 B
YAML

name: CI
on: [push, 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@v1
with:
go-version: 1.x
- name: Add $GOPATH/bin to $PATH
run: echo "::add-path::$(go env GOPATH)/bin"
- name: Test
run: make test
- name: Lint
run: make lint