Use Stack install script for Windows support

This commit is contained in:
Michael Snoyman 2020-04-26 11:02:50 +03:00
parent 15dae9d040
commit ddb19063a0
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046

View File

@ -13,9 +13,6 @@ jobs:
resolver: [nightly, lts-15, lts-14, lts-12, lts-11, lts-9]
steps:
- name: Setup Stack
uses: mstksg/setup-stack@v1
- name: Clone project
uses: actions/checkout@v2
@ -28,6 +25,8 @@ jobs:
${{ runner.os }}-${{ matrix.resolver }}-
- name: Build and run tests
shell: bash
run: |
set -ex
curl -sSL https://get.haskellstack.org/ | sh -s - -f
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}