From 0e749301e978979aa83c8731b1167c81a22f725e Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 25 Jun 2021 22:17:01 -0400 Subject: [PATCH] github: add action for build and validation Signed-off-by: Vincent Batts --- .github/workflows/go.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..7c3b9f2 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,28 @@ +name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.16 + + - name: Build + run: make + + - name: Test + run: make validation + + - name: Build.Arches + run: make build.arches