aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-12 23:08:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-12 23:08:05 -0700
commit8a0ffba2962f51eb20321506d7176139004fd824 (patch)
treea01ed78717e9bfda0de0e946bc120b2d7ce79132
parent69b42255f211f243247a860b649a064453b4c191 (diff)
downloadpandoc-8a0ffba2962f51eb20321506d7176139004fd824.tar.gz
GitHub CI: try 'cabal new-' instead of 'v2-'
-rw-r--r--.github/workflows/haskell.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index 1a7a87f68..40994c83b 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -10,9 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
- run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests
+ run: cabal new-update && cabal new-build --dependencies-only --enable-tests
- name: Build
run: |
- cabal v2-build --enable-tests
+ cabal new-build --enable-tests
- name: Run tests
- run: cabal v2-test
+ run: cabal new-test