We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238b10c commit 8e6952fCopy full SHA for 8e6952f
.github/workflows/test.yml
@@ -54,10 +54,9 @@ jobs:
54
55
cabal:
56
name: 'Cabal'
57
- strategy:
58
- matrix:
59
- ghc: ["8.10.4"]
60
runs-on: ubuntu-latest
+ env:
+ ghc_version: "8.10.4"
61
steps:
62
- name: Install prerequisites
63
run: |
@@ -72,14 +71,14 @@ jobs:
72
71
- uses: haskell/actions/setup@v1
73
id: setup-haskell-cabal
74
with:
75
- ghc-version: ${{ matrix.ghc }}
+ ghc-version: ${{ env.ghc_version }}
76
cabal-version: "3.2"
77
78
- name: Cache Cabal store
79
uses: actions/cache@v2
80
81
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
82
- key: ${{ runner.os }}-ghc-${{ matrix.ghc }}
+ key: ${{ runner.os }}-ghc-${{ env.ghc_version }}
83
84
- name: Build
85
run: cabal v2-build --enable-tests --enable-benchmarks all
0 commit comments