name: Continuous Integration

on:
  push:
  pull_request:
    branches:
    - master

jobs:

  build:
    name: Build
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-18.04, macOS-10.14]

    steps:

    - name: Set up Go 1.13
      uses: actions/setup-go@v1
      with:
        go-version: 1.13
      id: go

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

    - name: Run tests
      run: go test -race ./...

    - name: Check go vet
      run: go vet ./...

    - name: Check go fmt
      run: diff -u <(echo -n) <(gofmt -d $(git ls-files '*.go'))

name: Continuous Integration

on:
  push:
  pull_request:
    branches:
    - master

jobs:

  build:
    name: Build
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macOS-latest]

    steps:

    - name: Set up Go 1.13
      uses: actions/setup-go@v1
      with:
        go-version: 1.13
      id: go

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

    - name: Run tests
      run: go test -race ./...

    - name: Check go vet
      run: go vet ./...

    - name: Check go fmt
      run: diff -u <(echo -n) <(gofmt -d $(git ls-files '*.go'))

Update Github CI as old versions are being removed
Update Github CI as old versions are being removed