ci: Require up-to-date workspace in more places (#3604)

This commit is contained in:
Jonas Platte 2025-12-27 21:38:51 +01:00 committed by GitHub
parent 3b9a4193ea
commit f72bb26ff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Check
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
run: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
- name: Check
run: cargo clippy --manifest-path examples/Cargo.toml --workspace --all-targets --all-features -- -D warnings
- name: rustfmt
@ -93,9 +93,9 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Run tests
run: cargo test --workspace --all-features --all-targets
run: cargo test --locked --workspace --all-features --all-targets
- name: Test examples
run: cargo test --manifest-path examples/Cargo.toml --workspace --all-features --all-targets
run: cargo test --locked --manifest-path examples/Cargo.toml --workspace --all-features --all-targets
# some examples don't support our MSRV so we only test axum itself on our MSRV
test-nightly:
@ -170,7 +170,7 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Run doc tests
run: cargo test --all-features --doc
run: cargo test --locked --all-features --doc
deny-check:
name: cargo-deny check

8
examples/Cargo.lock generated
View File

@ -313,7 +313,7 @@ dependencies = [
[[package]]
name = "axum-core"
version = "0.5.5"
version = "0.5.6"
dependencies = [
"bytes",
"futures-core",
@ -330,7 +330,7 @@ dependencies = [
[[package]]
name = "axum-extra"
version = "0.12.3"
version = "0.12.5"
dependencies = [
"axum",
"axum-core",
@ -4059,9 +4059,9 @@ dependencies = [
[[package]]
name = "serde_html_form"
version = "0.3.1"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a055051604d997ae4ddff53663d390c15e96adc3720f54d43d18a7fd944cc79"
checksum = "2acf96b1d9364968fce46ebb548f1c0e1d7eceae27bdff73865d42e6c7369d94"
dependencies = [
"form_urlencoded",
"indexmap",