Skip to content

Commit 043143c

Browse files
cabal ci tweaks
1 parent 9717651 commit 043143c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/cabal.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
with:
3131
ghc-version: ${{ matrix.ghc }}
3232
cabal-version: ${{ matrix.cabal }}
33-
- run: cabal update
34-
- run: cabal freeze $CONFIG
33+
- run: cabal v2-update
34+
- run: cabal v2-freeze $CONFIG
3535
- uses: actions/cache@v2
3636
with:
3737
path: |
@@ -40,5 +40,5 @@ jobs:
4040
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
4141
restore-keys: |
4242
${{ runner.os }}-${{ matrix.ghc }}-
43-
- run: cabal build $CONFIG
44-
- run: cabal test $CONFIG
43+
- run: cabal v2-build $CONFIG
44+
- run: cabal v2-test $CONFIG

quickjs-hs.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ library
6565
-DCONFIG_VERSION="2020-07-05"
6666
-DCONFIG_BIGNUM
6767

68+
6869
test-suite quickjs-hs-test
6970
type: exitcode-stdio-1.0
7071
main-is: Spec.hs

0 commit comments

Comments
 (0)