Skip to content

Commit

Permalink
Move ghcide cache to the tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Oct 24, 2021
1 parent 836a488 commit 352c349
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
test:
needs: pre_job
runs-on: ${{ matrix.os }}
env:
- XDG_CACHE_HOME: /tmp/ghcide
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -140,7 +142,9 @@ jobs:
# this is only safe if the test environment is isolated
- name: clean ide cache
run: rm -rf ~/.cache/ghcide
run: |
rm -rf ~/.cache/ghcide
rm -rf $XDG_CACHE_HOME
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Build
Expand Down

0 comments on commit 352c349

Please sign in to comment.