name: Go
on: [push, pull_request]
env:
  GO111MODULE: on

jobs:

  build:
    name: Build
    strategy:
      matrix:
        go-version: [1.8, 1.13]
        platform: [ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.platform }}
    steps:

    - name: Set up Go
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go-version }}
      id: go

    - name: Check out code into the Go module directory
      uses: actions/checkout@v2

    - name: Get dependencies
      run: go get -v -t -d ./...

    - name: Run tests
      run: ./test.sh

Create GitHub action for tests
Create GitHub action for tests