From: Martin Tournoij Date: Thu, 20 Oct 2022 01:25:14 +0000 (+0200) Subject: Eh, also update the other workflows X-Git-Tag: v1.7.2~33 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=8aaa18572091dbe8a4fa25cdacd5caebe79e58c5;p=fsnotify.git Eh, also update the other workflows --- diff --git a/.github/workflows/staticcheck.yml b/.github/workflows/staticcheck.yml index fdc031d..2906aa9 100644 --- a/.github/workflows/staticcheck.yml +++ b/.github/workflows/staticcheck.yml @@ -1,7 +1,9 @@ name: 'staticcheck' on: - push: + pull_request: paths: ['**.go', 'go.mod', '.github/workflows/*'] + push: + branches: ['main', 'aix'] jobs: staticcheck: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a83fe50..0a84550 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,9 @@ name: 'test' on: - push: + pull_request: paths: ['**.go', 'go.mod', '.github/workflows/*'] + push: + branches: ['main', 'aix'] jobs: # Test Windows and Linux with the latest Go version and the oldest we support.