Skip to content

Commit 3e36f52

Browse files
committed
Use --allow-newer when testing on 'latest' ghc
1 parent d9515a9 commit 3e36f52

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
strategy:
5050
matrix:
5151
ghc: ['8.0', '8.10', '9.0.1', 'latest']
52+
include:
53+
- ghc: 'latest'
54+
cabal_flags: '--allow-newer'
5255
# If one version fails, we still want the status of the others
5356
fail-fast: false
5457
steps:
@@ -71,7 +74,7 @@ jobs:
7174
- name: Build and run tests
7275
run: |
7376
cd source
74-
cabal test
77+
cabal test ${{ matrix.cabal_flags }}
7578
7679
build_source:
7780
name: Build

0 commit comments

Comments
 (0)