Skip to content

Commit

Permalink
ci: use cargo-ci-cache-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 1, 2024
1 parent 5246d24 commit e89c881
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- name: tests
timeout-minutes: 60
run: |
set -e
cargo test --lib --tests -p=actix-router --all-features
cargo test --lib --tests -p=actix-http --all-features
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls
Expand All @@ -69,10 +70,13 @@ jobs:
cargo test --lib --tests -p=actix-multipart --all-features
cargo test --lib --tests -p=actix-web-actors --all-features
- name: Clear the cargo caches
run: |
cargo --locked install cargo-cache --version 0.8.3 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.25.9
with:
tool: cargo-ci-cache-clean

- name: CI cache clean
run: cargo-ci-cache-clean

ci_feature_powerset_check:
name: Verify Feature Combinations
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- name: tests
timeout-minutes: 60
run: |
set -e
cargo test --lib --tests -p=actix-router --all-features
cargo test --lib --tests -p=actix-http --all-features
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls
Expand All @@ -83,10 +84,13 @@ jobs:
cargo test --lib --tests -p=actix-multipart --all-features
cargo test --lib --tests -p=actix-web-actors --all-features
- name: Clear the cargo caches
run: |
cargo --locked install cargo-cache --version 0.8.3 --no-default-features --features ci-autoclean
cargo-cache
- name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.25.9
with:
tool: cargo-ci-cache-clean

- name: CI cache clean
run: cargo-ci-cache-clean

io-uring:
name: io-uring tests
Expand Down

0 comments on commit e89c881

Please sign in to comment.