on: [push, pull_request]
name: margo-ci
jobs:
  margo-ci:
    strategy:
      matrix:
        go-version: [1.13.x, 1.14.x]
        platform: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.platform }}
    steps:
    - name: Setup
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go-version }}
    - name: Checkout
      uses: actions/checkout@v2
      with:
        path: gs
    - name: CI
      env:
        GOPATH: ${{ github.workspace }}/gs
      run: go install -v gosublime/cmd/margo
