name: Go

on:
  push:
    branches: [ development ]
  pull_request:
    branches: [ development ]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: WillAbides/setup-go-faster@v1.6.0
      with:
        go-version: 1.17

    - name: Build
      run: go build -v ./...

    - name: Test
      run: go test -v ./...
  
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      
      - name: Set up Go
        uses: WillAbides/setup-go-faster@v1.6.0
        with:
          go-version: 1.17
      
      - name: Lint
        uses: golangci/golangci-lint-action@v2
        with:
          version: latest

Add GH Actions tests and linting
Add GH Actions tests and linting