From 9f1ff64a27146aeddcf971e52302b14b0e5f978a Mon Sep 17 00:00:00 2001 From: Andrew Steurer Date: Mon, 15 Jul 2024 10:40:20 -0600 Subject: [PATCH] updating gh actions Signed-off-by: Andrew Steurer --- .github/workflows/build-package.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index ce4ff64..845de07 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -5,9 +5,19 @@ on: - main tags: - "v*" + paths: + - 'main.go' + - 'go.mod' + - 'go.sum' + - 'spin.toml' + - 'azure/**' + - '.github/workflows/**' + pull_request: + branches: + - main jobs: - build-on-pull-request: + test-on-pull-request: if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: