Reconfigure caching

Caching .stack-work seems sketchy -- I'd rather have a full build of the
local project each time.

~/.ghcup, on the other hand, is the toolchain and seems like a good
cache candidate.
This commit is contained in:
Bryan Richter 2026-02-12 22:01:23 +02:00
parent 4c8835e5ad
commit c31c0f9669
No known key found for this signature in database
GPG Key ID: B202264020068BFB

View File

@ -13,8 +13,8 @@ jobs:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
path: | path: |
~/.ghcup
~/.stack ~/.stack
.stack-work
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal','**/stack.yaml') }} key: ${{ runner.os }}-${{ hashFiles('**/*.cabal','**/stack.yaml') }}
# If there's no match for key, fall back to these: # If there's no match for key, fall back to these:
restore-keys: | restore-keys: |