diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 07b3aea..7f6119f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,8 +3,21 @@ name: Build & Test with Go on: push: branches: [main] + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - '.github/workflows/go.yml' + - 'testdata/**' + pull_request: branches: [main] + paths: + - '**.go' + - 'go.mod' + - 'go.sum' + - '.github/workflows/go.yml' + - 'testdata/**' jobs: test: