diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index 78ebe1a9..292a802a 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -26,7 +26,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: nightly # required for `cargo udeps` override: true components: rustfmt, clippy - name: Set up cargo cache @@ -45,4 +45,10 @@ jobs: run: | cargo fmt --all -- --check cargo clippy -- -D warnings - - run: cargo test --all + - run: cargo install --locked cargo-udeps || true + - name: Check + run: | + cargo udeps + rm -rf ~/.cargo/advisory-db + - name: Test + run: cargo test --all diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index cc605dbe..843cfcf3 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -46,7 +46,6 @@ serde_yaml = "0.9.34" sqlx = { version = "0.7.4", features = ["sqlite", "runtime-tokio-rustls", "json", "chrono", "time"] } tauri = { version = "2.0.0-beta", features = ["devtools", "protocol-asset"] } tauri-plugin-clipboard-manager = "2.1.0-beta" -tauri-plugin-deep-link = "2.0.0-beta" tauri-plugin-dialog = "2.0.0-beta" tauri-plugin-fs = "2.0.0-beta" tauri-plugin-log = { version = "2.0.0-beta", features = ["colored"] }