Skip to content

Commit aeb10b0

Browse files
committed
Move ghcide cache to the tmp folder
1 parent 5c699ae commit aeb10b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
test:
3131
needs: pre_job
3232
runs-on: ${{ matrix.os }}
33+
env:
34+
XDG_CACHE_HOME: /tmp/ghcide
3335
strategy:
3436
fail-fast: true
3537
matrix:
@@ -140,7 +142,9 @@ jobs:
140142
141143
# this is only safe if the test environment is isolated
142144
- name: clean ide cache
143-
run: rm -rf ~/.cache/ghcide
145+
run: |
146+
rm -rf ~/.cache/ghcide
147+
rm -rf $XDG_CACHE_HOME/ghcide
144148
145149
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
146150
name: Build

0 commit comments

Comments
 (0)