---
name: build

'on':
  push:
    branches:
      - master
  pull_request:
    branches: ["*"]

env:
  GOPROXY: https://proxy.golang.org
  GOPATH: ${{ github.workspace }}/go

jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-18.04, macos-10.15]
        go: [1.13, 1.14]
      fail-fast: true

    runs-on: ${{ matrix.os }}

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

      - uses: actions/checkout@v2
        with:
          path: ${{ env.GOPATH }}/src/k8s.io/kops

      - name: make nodeup examples test
        working-directory: ${{ env.GOPATH }}/src/k8s.io/kops
        run: |
          make nodeup examples test

  verify:
    strategy:
      matrix:
        os: [ubuntu-18.04]
        go: [1.13]
      fail-fast: true

    runs-on: ${{ matrix.os }}

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

      - uses: actions/checkout@v2
        with:
          path: ${{ env.GOPATH }}/src/k8s.io/kops

      - name: make travis-ci
        working-directory: ${{ env.GOPATH }}/src/k8s.io/kops
        run: |
          make travis-ci

Add initial github actions workflow
Add initial github actions workflow
