From 4d6d6d3515354dd110172345beade671170f04a4 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 27 Apr 2025 17:34:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20cargo=20udeps=20tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.validate.yaml | 10 ++++++++-- Cargo.toml | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.woodpecker/.validate.yaml b/.woodpecker/.validate.yaml index 72fa91d..a627eb2 100644 --- a/.woodpecker/.validate.yaml +++ b/.woodpecker/.validate.yaml @@ -1,11 +1,11 @@ steps: - - name: format + - name: lint - format image: rust:1.86 commands: | rustup component add rustfmt cargo fmt --all --check - - name: clippy + - name: lint - clippy image: rust:latest commands: | apt update && apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev @@ -14,6 +14,12 @@ steps: # Not ready to block PR on fail failure: ignore + - name: lint - dependencies + image: rust:latest + commands: | + cargo install --locked cargo-udeps + cargo udeps + - name: build - web (dockerize) image: woodpeckerci/plugin-kaniko settings: diff --git a/Cargo.toml b/Cargo.toml index 5f03045..d00a5be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,9 +47,6 @@ turf = "0.9.3" dioxus-free-icons = { version = "0.9", features = ["ionicons", "font-awesome-solid"] } modx = "0.1.4" -# Matrix rich text editor -wysiwyg = { git = "https://github.com/matrix-org/matrix-rich-text-editor.git" } - [target.'cfg(target_family = "wasm")'.dependencies] # Logging/tracing tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }