Merge pull request #2994 from juhp/juhp-patch-1

stack.yaml: update to final lts-18.28 snapshot
This commit is contained in:
Chris Penner 2022-03-31 14:57:07 -06:00 committed by GitHub
commit 2742128905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View File

@ -100,7 +100,22 @@ jobs:
# Build deps, then build local code. Splitting it into two steps just allows us to see how much time each step
# takes.
- name: build dependencies
run: stack --no-terminal build --fast --only-dependencies
shell: bash
# Run up to 5 times in a row before giving up.
# It's very unlikely that our build-dependencies step will fail on most builds,
# so if it fails its almost certainly due to a race condition on the Windows
# file-system API that stack runs into. Since any successful packages are
# cached within a single build, it should get further along on each re-start
# and should hopefully finish!
run: |
tries=1
if [[ ${{matrix.os}} = "windows-"* ]]; then
tries=5
fi
for (( i = 0; i < $tries; i++ )); do
stack --no-terminal build --fast --only-dependencies && break;
done
- name: build
run: stack --no-terminal build --fast --no-run-tests --test

View File

@ -27,7 +27,7 @@ packages:
- lib/unison-pretty-printer
#compiler-check: match-exact
resolver: lts-18.13
resolver: lts-18.28
extra-deps:
- github: unisonweb/configurator