diff --git a/.github/workflows/machete.yml b/.github/workflows/machete.yml new file mode 100644 index 0000000..3c8cdfc --- /dev/null +++ b/.github/workflows/machete.yml @@ -0,0 +1,17 @@ +name: Machete + +on: + push: + +jobs: + machete: + name: cargo machete + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + - run: | + rustup toolchain install + - run: | + cargo install cargo-machete --locked + - run: | + cargo machete diff --git a/Cargo.lock b/Cargo.lock index f961863..22935a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1652,7 +1652,6 @@ dependencies = [ "matrix-sdk", "regex", "ruma", - "ruma-common", "serde", "thiserror 2.0.18", "tokio", @@ -2855,7 +2854,6 @@ dependencies = [ name = "tests" version = "0.1.0" dependencies = [ - "matrix-sdk", "microbot", "microbot-test-utils", "rand 0.10.1", diff --git a/Cargo.toml b/Cargo.toml index 218fc90..1350c75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ http = "1.4.0" matrix-sdk = { version = "0.17.0", default-features = false } regex = "1.12.3" ruma = { version = "0.15", features = ["events"] } -ruma-common = "0.18.0" serde = { version = "1.0.228", features = ["derive"] } thiserror = "2.0.18" tokio = "1.52.3" diff --git a/microbot/Cargo.toml b/microbot/Cargo.toml index af6e64f..29119eb 100644 --- a/microbot/Cargo.toml +++ b/microbot/Cargo.toml @@ -9,7 +9,6 @@ http = { workspace = true } matrix-sdk = { workspace = true } regex = { workspace = true } ruma = { workspace = true } -ruma-common = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e084c87..76d6b00 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -4,7 +4,6 @@ version = "0.1.0" edition = "2024" [dependencies] -matrix-sdk = { workspace = true } microbot = { path = "../microbot" } microbot-test-utils = { path = "../test-utils" } ruma = { workspace = true }