From 99623610e29dae831206f42201ed88f982d7596a Mon Sep 17 00:00:00 2001 From: John Ky Date: Tue, 9 Apr 2024 22:21:10 +1000 Subject: [PATCH] CI: Limit to a single Haskell job on macOS --- .github/workflows/haskell.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 38c809f405..ad76d669e6 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -21,7 +21,14 @@ jobs: sys: - { os: windows-latest, shell: 'C:/msys64/usr/bin/bash.exe -e {0}' } - { os: ubuntu-latest, shell: bash } - - { os: macos-latest, shell: bash} + include: + # Using include, to make sure there will only be one macOS job, even if the matrix gets expanded later on. + # We want a single job, because macOS runners are scarce. + - cabal: "3.10.2.0" + ghc: "9.6.4" + sys: + os: macos-latest + shell: bash defaults: run: