Skip to content

Commit 4a082ed

Browse files
committed
testuite: doctest: move to ghc recommended
1 parent 14727bc commit 4a082ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/quick-jobs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
- name: ghcup
7070
run: |
7171
ghcup config set cache true
72-
ghcup install ghc 8.10.7
73-
ghcup set ghc 8.10.7
72+
ghcup install ghc recommended
73+
ghcup set ghc recommended
7474
- name: Update Hackage index
7575
run: cabal v2-update
7676
- name: Install doctest

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ghcid-cli :
7474
# doctests (relies on .ghc.environment files)
7575

7676
doctest :
77-
doctest --fast Cabal-syntax/src Cabal/src
77+
doctest --fast -XHaskell2010 Cabal-syntax/src Cabal/src
7878

7979
# This is not run as part of validate.sh (we need hackage-security, which is tricky to get).
8080
doctest-cli :

0 commit comments

Comments
 (0)