From 68d3cb00f1aaeefc1f7dfe89702a10f8f5d3b167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Szepesi?= <2dcube01@gmail.com> Date: Thu, 7 Nov 2024 07:14:11 +0100 Subject: [PATCH] Add [[bin]] to migration and main executable (#95) --- .github/workflows/ci.yml | 1 + iam-migration/Cargo.toml | 4 ++++ iam/Cargo.toml | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c36524..a5d1b25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,7 @@ jobs: name: cargo-deny check runs-on: ubuntu-latest strategy: + fail-fast: false matrix: checks: - advisories diff --git a/iam-migration/Cargo.toml b/iam-migration/Cargo.toml index 6aacd22..b55d2c9 100644 --- a/iam-migration/Cargo.toml +++ b/iam-migration/Cargo.toml @@ -9,6 +9,10 @@ license-file.workspace = true name = "migration" path = "lib.rs" +[[bin]] +name = "iam-migration" +path = "main.rs" + [dependencies] sea-orm-migration = { version = "1.0.0" } tokio.workspace = true diff --git a/iam/Cargo.toml b/iam/Cargo.toml index 9e7c673..ef7f941 100644 --- a/iam/Cargo.toml +++ b/iam/Cargo.toml @@ -8,6 +8,10 @@ license-file.workspace = true [lib] path = "./lib.rs" +[[bin]] +name = "iam" +path = "main.rs" + [dependencies] iam-entity.workspace = true sea-orm = { workspace = true, features = ["mock"] }