ci: linux: try to avoid bad cached package db for ghc 8.2

Two versions of ansi-terminal are breaking CI somehow.
This commit is contained in:
Simon Michael 2020-07-17 15:55:19 -07:00
parent ef8a5140b3
commit 386a967a66

View File

@ -77,9 +77,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-2-${{ hashFiles('**.yaml') }}
restore-keys: |
${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}
${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-2
- name: Cache stack-installed programs in ~/.local/bin
id: stack-programs