From ad747e5924be29a6d755d1a9d68794bcff1d07fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sun, 24 May 2026 15:08:55 +0200 Subject: [PATCH] ci: fix tests and deny --- .github/workflows/tests.yml | 9 +++++++++ Cargo.lock | 8 ++++---- Cargo.toml | 2 +- deny.toml | 29 +++++++++++++++++++++++++++-- 4 files changed, 41 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..cc1c2e2f --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,9 @@ +name: Tests + +on: + push: + +jobs: + tests: + uses: pimalaya/nix/.github/workflows/tests.yml@master + secrets: inherit diff --git a/Cargo.lock b/Cargo.lock index a6933ebc..61df1fd7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1062,7 +1062,7 @@ dependencies = [ [[package]] name = "io-email" version = "0.0.1" -source = "git+https://github.com/pimalaya/io-email#6c898bbc8faced492e974fff27dd4da0f46f4827" +source = "git+https://github.com/pimalaya/io-email#6cfb80f0b694bff3334678893724e1a763c20cb8" dependencies = [ "chrono", "chumsky", @@ -1132,7 +1132,7 @@ dependencies = [ [[package]] name = "io-m2dir" version = "0.0.1" -source = "git+https://github.com/pimalaya/io-m2dir#69541e3b50bde6bdcc00135d5ec2bb388471ee5c" +source = "git+https://github.com/pimalaya/io-m2dir#0f36832cf074eae35d3b9959c7c98076fc0da57b" dependencies = [ "log", "thiserror", @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "pimalaya-config" version = "0.0.1" -source = "git+https://github.com/pimalaya/config#5df70410bfecb5e046346b80864273f101bed473" +source = "git+https://github.com/pimalaya/config#f8c344a34d9e86eaf1d51041c3c6daec3d12510a" dependencies = [ "anyhow", "dirs", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "pimalaya-stream" version = "0.0.1" -source = "git+https://github.com/pimalaya/stream#4a28a3c051bdc31e65a3fbbeb7f33b8aaebaca7b" +source = "git+https://github.com/pimalaya/stream#55bbb1cbf929effdc131573724017b86450a6ddd" dependencies = [ "anyhow", "log", diff --git a/Cargo.toml b/Cargo.toml index e387406d..e62d115c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] -default = ["imap", "smtp", "jmap", "maildir", "m2dir", "rustls-ring"] +default = ["imap", "smtp", "jmap", "m2dir", "rustls-ring"] imap = ["dep:io-imap", "dep:mail-parser", "dep:rfc2047-decoder", "io-email/imap", "io-imap/client"] jmap = ["dep:base64", "dep:io-jmap", "dep:mail-parser", "dep:serde_json", "io-email/jmap", "io-jmap/client"] smtp = ["dep:io-smtp", "dep:mail-parser", "io-email/smtp"] diff --git a/deny.toml b/deny.toml index 5062454e..538388ad 100644 --- a/deny.toml +++ b/deny.toml @@ -1,7 +1,32 @@ [sources] -allow-git = ["https://github.com/soywod/domain", "https://github.com/pimalaya/io-discovery", "https://github.com/pimalaya/io-email", "https://github.com/pimalaya/io-http", "https://github.com/pimalaya/io-imap", "https://github.com/pimalaya/io-jmap", "https://github.com/pimalaya/io-maildir", "https://github.com/pimalaya/io-smtp", "https://github.com/pimalaya/cli", "https://github.com/pimalaya/config", "https://github.com/pimalaya/stream"] +allow-git = [ + "https://github.com/pimalaya/cli", + "https://github.com/pimalaya/config", + "https://github.com/pimalaya/io-discovery", + "https://github.com/pimalaya/io-email", + "https://github.com/pimalaya/io-http", + "https://github.com/pimalaya/io-imap", + "https://github.com/pimalaya/io-jmap", + "https://github.com/pimalaya/io-m2dir", + "https://github.com/pimalaya/io-maildir", + "https://github.com/pimalaya/io-smtp", + "https://github.com/pimalaya/stream", + "https://github.com/soywod/domain" +] unknown-git = "deny" unknown-registry = "deny" [licenses] -allow = ["0BSD", "AGPL-3.0-only", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-3-Clause", "CDLA-Permissive-2.0", "ISC", "MIT", "MPL-2.0", "Unicode-3.0", "Zlib"] +allow = [ + "0BSD", + "AGPL-3.0-only", + "Apache-2.0 WITH LLVM-exception", + "Apache-2.0", + "BSD-3-Clause", + "CDLA-Permissive-2.0", + "ISC", + "MIT", + "MPL-2.0", + "Unicode-3.0", + "Zlib" +]