1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00

ci: use cargo-ci-clean-cache

This commit is contained in:
Rob Ede 2023-12-26 03:57:57 +00:00
parent 0dd810e213
commit 8049a75d9f
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 29 additions and 16 deletions

View File

@ -52,10 +52,14 @@ jobs:
timeout-minutes: 40
run: cargo ci-test
- name: Clear the cargo caches
run: |
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.23.2
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
build_and_test_other_nightly:
strategy:
@ -94,7 +98,10 @@ jobs:
timeout-minutes: 40
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation -- --nocapture
- name: Clear the cargo caches
run: |
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.23.2
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean

View File

@ -71,10 +71,13 @@ jobs:
timeout-minutes: 40
run: cargo ci-test
- name: Clear the cargo caches
run: |
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.23.2
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
build_and_test_other:
strategy:
@ -122,10 +125,13 @@ jobs:
timeout-minutes: 40
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation
- name: Clear the cargo caches
run: |
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.23.2
with:
tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
doc_tests:
name: doc tests