summaryrefslogtreecommitdiff
path: root/.github/workflows/build-all-versions.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-all-versions.yml')
-rw-r--r--.github/workflows/build-all-versions.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.github/workflows/build-all-versions.yml b/.github/workflows/build-all-versions.yml
index 46bd05b23..9ab8a0622 100644
--- a/.github/workflows/build-all-versions.yml
+++ b/.github/workflows/build-all-versions.yml
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- cabal: ["3.2"]
+ cabal: ["latest"]
ghc:
- "8.6.5"
- "8.8.3"
@@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- - uses: actions/setup-haskell@v1.1.4
+ - uses: haskell/actions/setup@v1
id: setup-haskell-cabal
name: Setup Haskell
with:
@@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- stack: ["2.3.3"]
+ stack: ["latest"]
ghc: ["7.10.3","8.0.2", "8.2.2", "8.4.4", "8.6.5", "8.8.4"]
# ghc: ["8.8.3"]
@@ -73,11 +73,12 @@ jobs:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- - uses: actions/setup-haskell@v1.1.4
+ - uses: haskell/actions/setup@v1
name: Setup Haskell Stack
with:
- # ghc-version: ${{ matrix.ghc }}
- stack-version: ${{ matrix.stack }}
+ ghc-version: ${{ matrix.ghc }}
+ stack-version: 'latest'
+ enable-stack: true
- uses: actions/cache@v1
name: Cache ~/.stack
@@ -90,6 +91,6 @@ jobs:
stack build --system-ghc --stack-yaml stack-ghc${{ matrix.ghc }}.yaml
# stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
- # - name: Test
- # run: |
- # stack test --system-ghc
+ - name: Test
+ run: |
+ stack test --system-ghc --stack-yaml stack-ghc${{ matrix.ghc }}.yaml