From 231972607dfde8928a800ac0f6ce6c164e5b28b8 Mon Sep 17 00:00:00 2001 From: "Harrison (Harry) Cramer" <32515581+harrisoncramer@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:06:43 -0500 Subject: [PATCH] Only run go build action on pull requests (#104) Bumps to #major release tag --- .github/workflows/go.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 47e220f..3c1f1ac 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -1,25 +1,18 @@ name: Go - on: - push: - branches: [ "main" ] pull_request: - branches: [ "main" ] - + branches: + - main jobs: - build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.19' - - name: Build run: make compile - - name: Test run: make test