1111    strategy :
1212      fail-fast : false 
1313      matrix :
14-         #  Add more elements to this list to run multiple instances of the build in CI.  Increasing the
15-         #  number instances is a good way to trigger flaky build failures
16-         n : [1] 
17- 
1814        ghc :
1915        - " 8.0.2" 
2016        - " 8.2.2" 
@@ -26,10 +22,11 @@ jobs:
2622        - " 9.2.8" 
2723        - " 9.4.8" 
2824        - " 9.6.6" 
29-         - " 9.8.2 " 
25+         - " 9.8.4 " 
3026        - " 9.10.1" 
27+         - " 9.12.1" 
3128        #  FIXME: Add windows-latest back to CI once it is passing.
32-         os : [ubuntu-latest, macos-latest ] 
29+         os : [ubuntu-latest] 
3330
3431        #  Action fails to install GHC < 8.10 on OSX with a generic error
3532        #  messsage:
@@ -40,19 +37,25 @@ jobs:
4037        # 
4138        #    Warning: Couldn't figure out LLVM version!
4239        #             Make sure you have installed LLVM between [9 and 13)
43-         exclude :
44-           - {ghc: "8.0.2", os: "macos-latest"} 
45-           - {ghc: "8.2.2", os: "macos-latest"} 
46-           - {ghc: "8.4.4", os: "macos-latest"} 
47-           - {ghc: "8.6.5", os: "macos-latest"} 
48-           - {ghc: "8.8.4", os: "macos-latest"} 
49-           - {ghc: "8.10.7", os: "macos-latest"} 
50-           - {ghc: "9.0.2", os: "macos-latest"} 
40+         include :
41+           - {ghc: "8.0.2" , os: "macos-13"} 
42+           - {ghc: "8.2.2" , os: "macos-13"} 
43+           - {ghc: "8.4.4" , os: "macos-13"} 
44+           - {ghc: "8.6.5" , os: "macos-13"} 
45+           - {ghc: "8.8.4" , os: "macos-13"} 
46+           - {ghc: "8.10.7", os: "macos-13"} 
47+           - {ghc: "9.0.2" , os: "macos-13"} 
48+           - {ghc: "9.2.8" , os: "macos-latest"} 
49+           - {ghc: "9.4.8" , os: "macos-latest"} 
50+           - {ghc: "9.6.6" , os: "macos-latest"} 
51+           - {ghc: "9.8.4" , os: "macos-latest"} 
52+           - {ghc: "9.10.1", os: "macos-latest"} 
53+           - {ghc: "9.12.1", os: "macos-latest"} 
5154    env :
5255      #  OpenSSL is installed in a non-standard location in MacOS. See
5356      #  https://github.com/actions/virtual-environments/blob/main/images/macos/macos-latest-Readme.md
5457      PKG_CONFIG_PATH : 
${{ (matrix.os == 'macos-latest' && '/usr/lib/pkgconfig:/usr/local/opt/[email protected] /lib/pkgconfig') || (matrix.os == 'ubuntu-latest' && '/usr/lib/pkgconfig:/usr/local/lib/pkgconfig') || '' }}  55-        
58+ 
5659      #  FIXME: this is arguably a bug, and pkg-config should return the right values!
5760      LD_LIBRARY_PATH : ${{ (matrix.os != 'windows-latest' && '/usr/local/lib') || '' }} 
5861
7578            automake ` 
7679            libtool ` 
7780            make 
78-    
81+ 
7982     #  this seems to break something. It _must_ come after the pacman setup
8083    #  above. It appears as if PATHEXT is set _after_ ghcup install ghc/cabal, and
8184    #  as such we'd need pacman.exe instead.
@@ -127,7 +130,7 @@ jobs:
127130      shell : bash 
128131      run : echo '${{ steps.cabal-store.outputs.cabal-store }}' 
129132
130-     - uses : actions/checkout@v2  
133+     - uses : actions/checkout@v4  
131134
132135    - name : " [PowerShell] Add build script path" 
133136      if : runner.os == 'Windows' 
@@ -173,7 +176,7 @@ jobs:
173176        cat dist-newstyle/cache/plan.json | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt 
174177
175178     - name : Cache Cabal store 
176-       uses : actions/cache@v2  
179+       uses : actions/cache@v4  
177180      with :
178181        path : ${{ steps.cabal-store.outputs.cabal-store }} 
179182        key : cache-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }} 
0 commit comments