diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 84fcb4b..27dcfe1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,3 +32,14 @@ jobs: - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - run: | cargo clippy --all-features --workspace --all-targets -- -Dwarnings + + shear: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - run: | + rustup toolchain install + - run: | + cargo install cargo-shear --version 1.13.2 # 2026-07-16 + - run: | + cargo shear --deny-warnings diff --git a/.github/workflows/machete.yml b/.github/workflows/machete.yml deleted file mode 100644 index 0a29b5c..0000000 --- a/.github/workflows/machete.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Machete - -permissions: - contents: read - -on: - push: - -jobs: - machete: - name: cargo machete - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - run: | - rustup toolchain install - - run: | - cargo install cargo-machete --locked - - run: | - cargo machete diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 76d6b00..ec86419 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -3,13 +3,11 @@ name = "tests" version = "0.1.0" edition = "2024" -[dependencies] +[dev-dependencies] +rand = "0.10.1" +tracing-subscriber = { version = "0.3.23", features = ["env-filter"] } microbot = { path = "../microbot" } microbot-test-utils = { path = "../test-utils" } ruma = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } - -[dev-dependencies] -rand = "0.10.1" -tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }