From 6f76a05bdf23582d63e81f190a80f25c4add83d9 Mon Sep 17 00:00:00 2001 From: Akos Veres Date: Thu, 5 Nov 2020 19:54:08 +0000 Subject: [PATCH] Add build github actions workflow Signed-off-by: Akos Veres --- .github/workflows/build.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..5a7d690 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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 + +