Add build github actions workflow

Signed-off-by: Akos Veres <veres@akos.me>
This commit is contained in:
Akos Veres 2020-11-05 19:54:08 +00:00 committed by Alex Ellis
parent 8f022cfb21
commit 6f76a05bdf

35
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,35 @@
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
env:
GO111MODULE: off
strategy:
matrix:
go-version: [1.13.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: test
run: make test
- name: dist
run: make dist
- name: prepare-test
run: make prepare-test
- name: test e2e
run: make test-e2e