1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-25 11:01:14 +00:00

ci: fix checks

This commit is contained in:
Rob Ede 2024-06-20 00:13:42 +01:00
parent cbb55ba27d
commit c612b5ce94
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
3 changed files with 12 additions and 4 deletions

View file

@ -54,10 +54,10 @@ jobs:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
- name: check minimal
run: cargo ci-check-min
run: just check-min
- name: check default
run: cargo ci-check-default
run: just check-default
- name: tests
timeout-minutes: 60

View file

@ -73,10 +73,10 @@ jobs:
run: just downgrade-for-msrv
- name: check minimal
run: cargo ci-check-min
run: just check-min
- name: check default
run: cargo ci-check-default
run: just check-default
- name: tests
timeout-minutes: 60

View file

@ -32,6 +32,14 @@ all_crate_features := if os() == "linux" {
"--features='" + non_linux_all_features_list + "'"
}
[private]
check-min:
cargo hack --workspace check --no-default-features
[private]
check-default:
cargo hack --workspace check
# Run Clippy over workspace.
clippy toolchain="":
cargo {{ toolchain }} clippy --workspace --all-targets {{ all_crate_features }}