mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-02-11 21:15:14 +00:00
No cargo shear
This commit is contained in:
parent
9e21083e68
commit
ce83767180
2 changed files with 1 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
||||||
variables:
|
variables:
|
||||||
- &rust_image "rust:1.78-bullseye"
|
- &rust_image "rust:1.78-bullseye"
|
||||||
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
|
@ -10,15 +9,6 @@ steps:
|
||||||
when:
|
when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
|
|
||||||
cargo_shear:
|
|
||||||
image: *rust_image
|
|
||||||
commands:
|
|
||||||
- *install_binstall
|
|
||||||
- cargo binstall -y cargo-shear
|
|
||||||
- cargo shear
|
|
||||||
when:
|
|
||||||
- event: pull_request
|
|
||||||
|
|
||||||
cargo_clippy:
|
cargo_clippy:
|
||||||
image: *rust_image
|
image: *rust_image
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -93,6 +93,7 @@ tower = { version = "0.4.13", optional = true }
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0.86"
|
anyhow = "1.0.86"
|
||||||
axum = { version = "0.7.5", features = ["macros"] }
|
axum = { version = "0.7.5", features = ["macros"] }
|
||||||
|
axum-extra = { version = "0.9.3", features = ["typed-header"] }
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11.3"
|
||||||
tokio = { version = "1.38.0", features = ["full"] }
|
tokio = { version = "1.38.0", features = ["full"] }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue