Skip to content

Commit

Permalink
Drop container ID from CI cache key, use image (#4516)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhendric authored Nov 4, 2023
1 parent 4f4672d commit 6b49918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
path: |
/root/.stack
${{ steps.haskell.outputs.stack-root }}
key: "${{ runner.os }}-${{ job.container.id }}-MdyPsf-${{ hashFiles('stack.yaml') }}"
key: "${{ matrix.image || runner.os }}--MdyPsf-${{ hashFiles('stack.yaml') }}"

- name: "(Windows only) Configure Stack to store its programs in STACK_ROOT"
# This ensures that the local GHC and MSYS binaries that Stack installs
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
with:
path: |
/root/.stack
key: "${{ runner.os }}-${{ job.container.id }}-UnWw0N-lint-${{ hashFiles('stack.yaml') }}"
key: "lint-${{ hashFiles('stack.yaml') }}"

- run: "ci/fix-home ci/run-hlint.sh --git"
env:
Expand Down

0 comments on commit 6b49918

Please sign in to comment.