Skip to content

Commit

Permalink
Replace cargo deps with build-in cargo tree (#6179)
Browse files Browse the repository at this point in the history
- cargo-deps is no longer maintained
- cargo-deps doesn't understand workspaces
  • Loading branch information
alfiedotwtf committed Sep 9, 2024
1 parent 543530c commit 6eefe2e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -478,14 +478,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*)
Expand Down

0 comments on commit 6eefe2e

Please sign in to comment.