1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-18 01:43:58 +01: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 tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
- name: check minimal - name: check minimal
run: cargo ci-check-min run: just check-min
- name: check default - name: check default
run: cargo ci-check-default run: just check-default
- name: tests - name: tests
timeout-minutes: 60 timeout-minutes: 60

View File

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

View File

@ -32,6 +32,14 @@ all_crate_features := if os() == "linux" {
"--features='" + non_linux_all_features_list + "'" "--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. # Run Clippy over workspace.
clippy toolchain="": clippy toolchain="":
cargo {{ toolchain }} clippy --workspace --all-targets {{ all_crate_features }} cargo {{ toolchain }} clippy --workspace --all-targets {{ all_crate_features }}