Add Agda version to matrix.
This commit is contained in:
parent
ab6ee861d8
commit
638cbcdd00
1 changed files with 2 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
ghc: ['8.10.5']
|
||||
agda: ['2.6.1.3']
|
||||
|
||||
steps:
|
||||
|
||||
|
@ -29,11 +30,6 @@ jobs:
|
|||
run: echo "::set-output name=gemdir::$(gem env gemdir)"
|
||||
shell: bash
|
||||
|
||||
- name: Get Agda version
|
||||
id: get-agda-version
|
||||
run: echo "::set-output name=agda-version::$(cat plfa.cabal | sed -n -e 's/^.*Agda\s*==\s*\(\S*\)\s*/\1/p')"
|
||||
shell: bash
|
||||
|
||||
- uses: actions/cache@v2
|
||||
name: Cache files
|
||||
id: cache
|
||||
|
@ -46,7 +42,7 @@ jobs:
|
|||
~/.stack
|
||||
${{ steps.get-gemdir.outputs.gemdir }}
|
||||
$GITHUB_WORKSPACE/.stack-work
|
||||
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ steps.get-agda-version.outputs.agda-version }}
|
||||
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ matrix.agda }}
|
||||
|
||||
- name: Setup Haskell
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
|
|
Loading…
Reference in a new issue