From 734697f0f872b74b1846ab39f54b8c9b9fa3b831 Mon Sep 17 00:00:00 2001 From: Masahiro Sakai Date: Sun, 25 Aug 2024 20:15:33 +0900 Subject: [PATCH 1/2] GitHub Actions: update build matrix --- .github/workflows/build.yaml | 9 ++++++--- pseudo-boolean.cabal | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f122133..85d8631 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.8', '9.4.8', '9.6.4'] + ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.8', '9.4.8', '9.6.6', '9.8.2'] os: [ubuntu-latest] include: - ghc: '8.6.5' @@ -28,10 +28,13 @@ jobs: - ghc: '9.4.8' resolver: 'lts-21.25' flags: '' - - ghc: '9.6.4' - resolver: 'lts-22.13' + - ghc: '9.6.6' + resolver: 'lts-22.33' coveralls: true flags: '--coverage' + - ghc: '9.8.2' + resolver: 'nightly-2024-08-25' + flags: '' steps: - uses: actions/checkout@v4 diff --git a/pseudo-boolean.cabal b/pseudo-boolean.cabal index 26832ff..3981d5d 100644 --- a/pseudo-boolean.cabal +++ b/pseudo-boolean.cabal @@ -31,7 +31,8 @@ tested-with: GHC ==9.0.2 GHC ==9.2.8 GHC ==9.4.8 - GHC ==9.6.4 + GHC ==9.6.6 + GHC ==9.8.2 source-repository head type: git From 62b6417f7eb4e41ea0b9c2d932a84643f2393277 Mon Sep 17 00:00:00 2001 From: Masahiro Sakai Date: Sun, 25 Aug 2024 20:17:32 +0900 Subject: [PATCH 2/2] GitHub Actions: run only on 'master', tags, and pull requests --- .github/workflows/build.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 85d8631..75b2fca 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,11 @@ -on: [push, pull_request] +on: + push: + branches: + - master + tags: + - '*' + pull_request: + name: build jobs: build: