From 761ef94c46f18b12148d4bc0bc9c6768c9297134 Mon Sep 17 00:00:00 2001 From: Fawad Khaliq Date: Mon, 5 Oct 2020 12:48:52 -0700 Subject: [PATCH] Enable GitHub Actions with a build workflow (#354) --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..d57f6a8c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Build + +on: + pull_request_target: + branches: [ master ] + +jobs: + + build_x86_64: + name: Build + runs-on: ubuntu-latest + steps: + + - name: Set up Go 1.14 + 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 + run: make controller + + - name: Run + run: ./bin/controller -h || true