name: Go 1.14

on:
  push:
    branches:
      - master
  pull_request:
    types: [opened, synchronize, reopened]

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:

    - name: Set up Go 1.x
      uses: actions/setup-go@v2
      with:
        go-version: ^1.14
      id: go

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

    - name: Build & Test
      run: unbuffer ./mage

name: Go 1.14

on:
  push:
    branches:
      - master
  pull_request:
    types: [opened, synchronize, reopened]

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:

    - name: Set up Go 1.x
      uses: actions/setup-go@v2
      with:
        go-version: ^1.14
      id: go

    - name: Install CI tools
      run: sudo apt-get update && sudo apt-get install -y expect-dev

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

    - name: Build & Test
      run: unbuffer ./mage

Install expect-dev package on CI
Install expect-dev package on CI
