git.iko.soy/typeable/pandoc
on master help sign in
CI: Add 'benchmark' to benchmark cache key.

For benchmark we build with optimizations, so the regular cache is useless.

commit938f402dec7ea4447ec8347506ff6d688bc28446 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 22 Feb 2021, 23:24 (6 years ago) parent9767386
1 file changed+2−2
.github/workflows/ci.yml+2−2
.github/workflows/ci.yml+2−2
@@ -225,7 +225,7 @@ jobs:
225225 with:
226226 path: |
227227 ~/.cabal
228− key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}
228+ key: benchmark-${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}
229229
230230 - name: Cache cabal work
231231 id: cabal-local
@@ -233,7 +233,7 @@ jobs:
233233 with:
234234 path: |
235235 dist-newstyle
236− key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local
236+ key: benchmark-${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local
237237
238238 - name: Install dependencies
239239 run: |