From 8aaa18572091dbe8a4fa25cdacd5caebe79e58c5 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Thu, 20 Oct 2022 03:25:14 +0200 Subject: [PATCH] Eh, also update the other workflows --- .github/workflows/staticcheck.yml | 4 +++- .github/workflows/test.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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. -- 2.50.1