Skip to content

Commit 16ff91d

Browse files
committed
CI: caching: add GHC 9.2.1
1 parent a364670 commit 16ff91d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/caching.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
strategy:
7474
fail-fast: false
7575
matrix:
76-
ghc: ["9.0.1", '8.10.7', '8.10.6', "8.8.4", "8.6.5"]
76+
ghc: ["9.2.1", "9.0.1", '8.10.7', '8.10.6', "8.8.4", "8.6.5"]
7777
os: [ubuntu-latest, macOS-latest, windows-latest]
7878
cabal: ['3.6']
7979

@@ -105,6 +105,14 @@ jobs:
105105
# `&&` insures `rm -f` return is positive.
106106
# Many platforms also have `alias cp='cp -i'`.
107107
rm -f -v cabal.project && cp -v cabal-ghc901.project cabal.project
108+
- if: matrix.ghc == '9.2.1'
109+
name: (GHC 9.2.1) Use modified `cabal.project`
110+
run: |
111+
# File has some protections preventing regular `rm`.
112+
# (most probably sticky bit is set on $HOME)
113+
# `&&` insures `rm -f` return is positive.
114+
# Many platforms also have `alias cp='cp -i'`.
115+
rm -f -v cabal.project && cp -v cabal-ghc921.project cabal.project
108116
- if: runner.os == 'Windows' && matrix.ghc == '8.8.4'
109117
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults
110118
run: |

0 commit comments

Comments
 (0)