mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
ci: Require up-to-date workspace in more places (#3604)
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: Check
|
- 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
|
- name: Check
|
||||||
run: cargo clippy --manifest-path examples/Cargo.toml --workspace --all-targets --all-features -- -D warnings
|
run: cargo clippy --manifest-path examples/Cargo.toml --workspace --all-targets --all-features -- -D warnings
|
||||||
- name: rustfmt
|
- name: rustfmt
|
||||||
@@ -93,9 +93,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --workspace --all-features --all-targets
|
run: cargo test --locked --workspace --all-features --all-targets
|
||||||
- name: Test examples
|
- 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
|
# some examples don't support our MSRV so we only test axum itself on our MSRV
|
||||||
test-nightly:
|
test-nightly:
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: Run doc tests
|
- name: Run doc tests
|
||||||
run: cargo test --all-features --doc
|
run: cargo test --locked --all-features --doc
|
||||||
|
|
||||||
deny-check:
|
deny-check:
|
||||||
name: cargo-deny check
|
name: cargo-deny check
|
||||||
|
|||||||
Generated
+4
-4
@@ -313,7 +313,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "axum-core"
|
name = "axum-core"
|
||||||
version = "0.5.5"
|
version = "0.5.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
@@ -330,7 +330,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "axum-extra"
|
name = "axum-extra"
|
||||||
version = "0.12.3"
|
version = "0.12.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"axum-core",
|
"axum-core",
|
||||||
@@ -4059,9 +4059,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_html_form"
|
name = "serde_html_form"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1a055051604d997ae4ddff53663d390c15e96adc3720f54d43d18a7fd944cc79"
|
checksum = "2acf96b1d9364968fce46ebb548f1c0e1d7eceae27bdff73865d42e6c7369d94"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"form_urlencoded",
|
"form_urlencoded",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
|
|||||||
Reference in New Issue
Block a user