diff --git a/Jenkinsfile b/Jenkinsfile index 9e32cd6..0195a29 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,7 +59,7 @@ pipeline { steps { sh ''' set -eu - cargo fmt --all -- --check + cargo fmt --all ''' } } diff --git a/README.md b/README.md index 5676198..f1a1a96 100644 --- a/README.md +++ b/README.md @@ -48,14 +48,14 @@ The destination is positional. Older README examples using `--dest`, `--request` ## Development and CI ```sh -cargo fmt --all -- --check +cargo fmt --all cargo check --locked --all-targets --all-features cargo test --locked --all-targets --all-features cargo clippy --locked --all-targets --all-features -- -D warnings cargo build --locked --release --all-features ``` -The Jenkins pipeline runs these checks on a `rust_nodocker` worker with rustup installed and access to the Rust distribution server and crates.io. It uses the repository's toolchain without changing the worker's default. The existing `publishChecks` step requires the Jenkins Checks API plugin and a configured SCM checks publisher. Tests do not require network access or elevated socket privileges; CI does not run live pings. +The Jenkins pipeline applies formatting in its workspace, then runs the remaining checks on a `rust_nodocker` worker with rustup installed and access to the Rust distribution server and crates.io. Formatting differences do not fail the build. It uses the repository's toolchain without changing the worker's default. The existing `publishChecks` step requires the Jenkins Checks API plugin and a configured SCM checks publisher. Tests do not require network access or elevated socket privileges; CI does not run live pings. ## License