Skip to content

Commit

Permalink
maint/CICD ~ add work-around for absorption of cargo tree into cargo
Browse files Browse the repository at this point in the history
- see [GH:rust-lang/cargo#8062](rust-lang/cargo#8062) for more information
  • Loading branch information
rivy committed Apr 15, 2020
1 parent 0d355d1 commit 4813e97
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@ jobs:
rustup show active-toolchain
cargo -V
rustc -V
cargo tree -V
cargo-tree tree -V
## dependencies
echo "## dependency list"
cargo +stable fetch --quiet
cargo +stable tree --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
RUSTUP_TOOLCHAIN=stable cargo fetch --quiet
RUSTUP_TOOLCHAIN=stable cargo-tree tree --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
- name: Test
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -266,11 +267,11 @@ jobs:
rustup show active-toolchain
cargo -V
rustc -V
cargo tree -V
cargo-tree tree -V
## dependencies
echo "## dependency list"
cargo fetch --quiet
cargo tree --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all --no-dev-dependencies --no-indent | grep -vE "$PWD" | sort --unique
cargo-tree tree --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all --no-dev-dependencies --no-indent | grep -vE "$PWD" | sort --unique
- name: Build
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 4813e97

Please sign in to comment.