mirror of
https://github.com/tokio-rs/axum.git
synced 2026-02-06 11:17:48 +00:00
ci: Require up-to-date workspace in more places (#3604)
This commit is contained in:
parent
3b9a4193ea
commit
f72bb26ff3
8
.github/workflows/CI.yml
vendored
8
.github/workflows/CI.yml
vendored
@ -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
8
examples/Cargo.lock
generated
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user