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:
parent
cbb55ba27d
commit
c612b5ce94
3 changed files with 12 additions and 4 deletions
4
.github/workflows/ci-post-merge.yml
vendored
4
.github/workflows/ci-post-merge.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
8
justfile
8
justfile
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue