1.2: Sandboxing #7
@@ -4,19 +4,19 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fmt
|
- name: fmt
|
||||||
|
qpismont marked this conversation as resolved
|
|||||||
image: rust:1.97
|
image: rust:1.98
|
||||||
commands:
|
commands:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
- name: clippy
|
- name: clippy
|
||||||
image: rust:1.97
|
image: rust:1.98
|
||||||
commands:
|
commands:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy --workspace --all-targets --all-features -- -D warnings
|
- cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: rust:1.97
|
image: rust:1.98
|
||||||
commands:
|
commands:
|
||||||
- cargo test --workspace --all-targets
|
- cargo test --workspace --all-targets
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user
Pipeline CI : vérifier que
cargo fmt --check,cargo clippy -- -D warningsetcargo test --all-featurescouvrent bien le nouveau workspace multi-crates (utiliser--workspace), et que les tests du sandbox qui nécessitent Docker/root sont soit exécutés, soit explicitement ignorés avec justification.