From 33810aedb8b3928f7072f9bc55dab19ca7105e64 Mon Sep 17 00:00:00 2001 From: Alfie John Date: Thu, 5 Sep 2024 12:26:49 +0000 Subject: [PATCH] Replace `cargo deps` with build-in `cargo tree` (#6179) - cargo-deps is no longer maintained - cargo-deps doesn't understand workspaces --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa6c9055cdd..35f87c2ff76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -477,14 +477,11 @@ jobs: toolchain: ${{ env.RUST_VERSION }} - uses: Swatinem/rust-cache@v2 - - name: Install cargo-deps - run: cargo install cargo-deps - # We require this check to avoid cyclic dependencies between 'fuels' and 'forc-pkg'. # Detailed explanation is found in the echo below. - name: Check 'forc-pkg' dependencies for 'fuels' crates run: | - deps=$(cargo deps --manifest-path forc-pkg/Cargo.toml) + deps=$(cargo tree --manifest-path forc-pkg/Cargo.toml) case "$deps" in *fuels*)