From 386a967a669f480235ba55166147bc22b49fb3f0 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 17 Jul 2020 15:55:19 -0700 Subject: [PATCH] ci: linux: try to avoid bad cached package db for ghc 8.2 Two versions of ansi-terminal are breaking CI somehow. --- .github/workflows/linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 18e1573c5..4e039436e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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