mirror of
https://github.com/actix/actix-web.git
synced 2024-11-22 09:31:10 +00:00
ci: use cargo-ci-cache-clean
This commit is contained in:
parent
5246d24aba
commit
e89c881624
2 changed files with 16 additions and 8 deletions
12
.github/workflows/ci-post-merge.yml
vendored
12
.github/workflows/ci-post-merge.yml
vendored
|
@ -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
|
||||||
|
|
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue