mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
ci: fix checks
This commit is contained in:
parent
cbb55ba27d
commit
c612b5ce94
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
|
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
|
||||||
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
8
justfile
8
justfile
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user