From dcfac98b22a0c4d6f8f9106a7f001686eb47a517 Mon Sep 17 00:00:00 2001 From: SachaMorard <2254275+SachaMorard@users.noreply.github.com> Date: Fri, 9 Jan 2026 17:37:54 +0100 Subject: [PATCH 1/2] fix: ci --- .github/workflows/publish.yml | 2 +- .github/workflows/release.yml | 2 +- crates/cli/Cargo.toml | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 311b54b..b2381ff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish releases +name: Publish edgee-cli crates on: release: types: [published] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2a784c..b771df9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: with: command: build target: ${{ matrix.platform.target }} - args: '-p edgee --bin edgee --release --features "${{ matrix.platform.features }}"' + args: '-p edgee-cli --bin edgee --release --features "${{ matrix.platform.features }}"' - name: Save binary uses: actions/upload-artifact@v4 diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 4c888f8..1512a97 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -51,9 +51,12 @@ uuid = { workspace = true, features = ["v4"] } wit-deps.workspace = true zip.workspace = true -api-client.workspace = true -proxy.workspace = true +api-client = { path = "../api-client" } +proxy = { path = "../proxy" } +[[bin]] +name = "edgee" +path = "src/main.rs" [features] bundled = ["openssl/vendored"] From fd17e26ecf16bb485087661e8493e37cf0bd06bc Mon Sep 17 00:00:00 2001 From: SachaMorard <2254275+SachaMorard@users.noreply.github.com> Date: Fri, 9 Jan 2026 17:40:15 +0100 Subject: [PATCH 2/2] feat: add check in ci --- .github/workflows/check.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f6e3147..93615b0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,6 +18,18 @@ jobs: components: rustfmt - uses: actions-rust-lang/rustfmt@v1 + check: + name: cargo check + runs-on: ubuntu-latest + permissions: + checks: write + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt + - run: cargo check + clippy: name: clippy runs-on: ubuntu-latest