aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yaml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 0034ce49a..8d3c2865c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -48,13 +48,29 @@ jobs:
48 with: 48 with:
49 command: test 49 command: test
50 50
51 - name: Prepare build directory for cache 51 - name: Prepare build directory for cache (UNIX)
52 if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
52 run: | 53 run: |
53 find ./target/debug -maxdepth 1 -type f -delete \ 54 find ./target/debug -maxdepth 1 -type f -delete \
54 && rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*} \ 55 && rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*} \
55 && rm -f ./target/.rustc_info.json \ 56 && rm -f ./target/.rustc_info.json \
56 && rm ./target/.slow_tests_cookie 57 && rm ./target/.slow_tests_cookie
57 58
59 - name: Prepare build directory for cache (Windows)
60 if: matrix.os == 'windows-latest'
61 run: >-
62 (Get-ChildItem ./target/debug -Recurse -Depth 1 -File | Remove-Item) -and
63 (Remove-Item -Force -Recurse ./target/debug/deps/*ra_*) -and
64 (Remove-Item -Force -Recurse ./target/debug/deps/*heavy_test*) -and
65 (Remove-Item -Force -Recurse ./target/debug/deps/*gen_lsp*) -and
66 (Remove-Item -Force -Recurse ./target/debug/deps/*thread_worker*) -and
67 (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*ra_*) -and
68 (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*heavy_test*) -and
69 (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*gen_lsp*) -and
70 (Remove-Item -Force -Recurse ./target/debug/.fingerprint/*thread_worker*) -and
71 (Remove-Item -Force ./target/.rustc_info.json) -and
72 (Remove-Item ./target/.slow_tests_cookie)
73
58 type-script: 74 type-script:
59 name: TypeScript 75 name: TypeScript
60 runs-on: ubuntu-latest 76 runs-on: ubuntu-latest