1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-22 17:41:11 +00:00

ci: use cargo-ci-cache-clean

This commit is contained in:
Rob Ede 2024-02-01 06:27:22 +00:00
parent 5246d24aba
commit e89c881624
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
2 changed files with 16 additions and 8 deletions

View file

@ -58,6 +58,7 @@ jobs:
- name: tests - name: tests
timeout-minutes: 60 timeout-minutes: 60
run: | run: |
set -e
cargo test --lib --tests -p=actix-router --all-features cargo test --lib --tests -p=actix-router --all-features
cargo test --lib --tests -p=actix-http --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 cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls
@ -69,10 +70,13 @@ jobs:
cargo test --lib --tests -p=actix-multipart --all-features cargo test --lib --tests -p=actix-multipart --all-features
cargo test --lib --tests -p=actix-web-actors --all-features cargo test --lib --tests -p=actix-web-actors --all-features
- name: Clear the cargo caches - name: Install cargo-ci-cache-clean
run: | uses: taiki-e/install-action@v2.25.9
cargo --locked install cargo-cache --version 0.8.3 --no-default-features --features ci-autoclean with:
cargo-cache tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
ci_feature_powerset_check: ci_feature_powerset_check:
name: Verify Feature Combinations name: Verify Feature Combinations

View file

@ -72,6 +72,7 @@ jobs:
- name: tests - name: tests
timeout-minutes: 60 timeout-minutes: 60
run: | run: |
set -e
cargo test --lib --tests -p=actix-router --all-features cargo test --lib --tests -p=actix-router --all-features
cargo test --lib --tests -p=actix-http --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 cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls
@ -83,10 +84,13 @@ jobs:
cargo test --lib --tests -p=actix-multipart --all-features cargo test --lib --tests -p=actix-multipart --all-features
cargo test --lib --tests -p=actix-web-actors --all-features cargo test --lib --tests -p=actix-web-actors --all-features
- name: Clear the cargo caches - name: Install cargo-ci-cache-clean
run: | uses: taiki-e/install-action@v2.25.9
cargo --locked install cargo-cache --version 0.8.3 --no-default-features --features ci-autoclean with:
cargo-cache tool: cargo-ci-cache-clean
- name: CI cache clean
run: cargo-ci-cache-clean
io-uring: io-uring:
name: io-uring tests name: io-uring tests