aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/haskell.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index d146795b7..bb59fc468 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -94,13 +94,11 @@ jobs:
- name: Install stack
run: |
curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz
- tar xzvf stack.tar.gz
+ tar xzvf stack.tar.gz --strip-components=1 'stack*/stack'
- name: Install dependencies
run: |
- export PATH=stack-*-osx-x86_64:$PATH
- stack update
- stack test --dependencies-only
+ ./stack update
+ ./stack test --dependencies-only
- name: Build and test
run: |
- export PATH=stack-*-osx-x86_64:$PATH
- stack test
+ ./stack test