Skip to content

Commit d07aa68

Browse files
committed
gram-hs-migrate: updated CI/CD build to use latest gram-hs
1 parent 6c3eccb commit d07aa68

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
~/.cabal/packages
3838
key: ${{ runner.os }}-cabal-${{ matrix.ghc-version }}-${{ hashFiles('cabal.project', 'pattern-lisp.cabal') }}
3939
restore-keys: |
40+
${{ runner.os }}-cabal-${{ matrix.ghc-version }}-${{ hashFiles('cabal.project', 'pattern-lisp.cabal') }}-
4041
${{ runner.os }}-cabal-${{ matrix.ghc-version }}-
4142
4243
- name: Cache dist-newstyle
@@ -48,7 +49,11 @@ jobs:
4849
${{ runner.os }}-dist-${{ matrix.ghc-version }}-
4950
5051
- name: Configure Cabal
51-
run: cabal update
52+
run: |
53+
cabal update
54+
# Force update of source-repository-packages to get latest gram-hs
55+
# This ensures we get the latest version with 'point' export
56+
cabal v2-update
5257
5358
- name: Build project
5459
run: cabal build --ghc-options="-Wall" all

0 commit comments

Comments
 (0)