Skip to content

Commit

Permalink
Drop old resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
ishiy1993 committed Sep 20, 2022
1 parent ee75cbd commit 29780ad
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ jobs:
strategy:
matrix:
resolver-version:
- 'lts-4'
- 'lts-5'
- 'lts-6'
- 'lts-7'
- 'lts-8'
- 'lts-9'
- 'lts-10'
- 'lts-11'
- 'lts-12'
- 'lts-13'
- 'lts-14'
Expand Down Expand Up @@ -56,15 +48,9 @@ jobs:
export RESOLVER=${{ matrix.resolver-version }}
./latest $RESOLVER > stack-travis.yaml
export STACK_YAML=stack-travis.yaml
if [ ${RESOLVER/lts-/} -lt 10 ]
then
curl -L https://github.com/commercialhaskell/stack/releases/download/v1.9.1/stack-1.9.1-linux-x86_64.tar.gz | \
tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
else
curl -L https://www.stackage.org/stack/linux-x86_64 | \
tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
stack update
fi
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: Install deps
run: |
Expand Down

0 comments on commit 29780ad

Please sign in to comment.