Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ishiy1993 committed Sep 20, 2022
1 parent 29820a0 commit 0fe262e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- 'lts-18'
- 'lts-19'
- 'nightly'
env:
STACK_YAML: stack-travis.yaml
steps:
- uses: actions/checkout@v2
- name: Cache .stack
Expand Down Expand Up @@ -47,11 +49,14 @@ jobs:
export PATH=~/.local/bin:$PATH
export RESOLVER=${{ matrix.resolver-version }}
./latest $RESOLVER > stack-travis.yaml
export STACK_YAML=stack-travis.yaml
curl -L https://www.stackage.org/stack/linux-x86_64 | \
tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
stack update
stack --no-terminal --skip-ghc-check setup
- name: Debug info
run: |
echo $RESOLVER
cat $STACK_YAML
- name: Install deps
run: |
stack --no-terminal --skip-ghc-check test --only-snapshot
Expand Down

0 comments on commit 0fe262e

Please sign in to comment.