1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +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 timeout-minutes: 40
run: cargo ci-test run: cargo ci-test
- name: Clear the cargo caches - name: Install cargo-ci-cache-clean
run: | uses: taiki-e/install-action@v2.23.2
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean with:
cargo-cache tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
build_and_test_other_nightly: build_and_test_other_nightly:
strategy: strategy:
@ -94,7 +98,10 @@ jobs:
timeout-minutes: 40 timeout-minutes: 40
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation -- --nocapture run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation -- --nocapture
- name: Clear the cargo caches - name: Install cargo-ci-cache-clean
run: | uses: taiki-e/install-action@v2.23.2
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean with:
cargo-cache tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean

View File

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