From 2792c28f6d4c18257b0bc34ced500aed759af101 Mon Sep 17 00:00:00 2001 From: Max Horstmann Date: Sun, 1 Nov 2020 13:20:18 -0500 Subject: [PATCH] Run build checks on PRs targeting master branch (#922) --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000..3923056dd --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: build + +on: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Checkout repo + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ^1.15 + + - name: Build binaries + run: go run build/build.go \ No newline at end of file