mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Merge pull request #2452 from rivy/fix.cicd-deps
Fix CICD dependency display errors
This commit is contained in:
commit
daf9bdcace
3 changed files with 13 additions and 6 deletions
10
.github/workflows/CICD.yml
vendored
10
.github/workflows/CICD.yml
vendored
|
@ -7,6 +7,8 @@ name: CICD
|
||||||
# spell-checker:ignore (shell/tools) choco clippy dmake dpkg esac fakeroot gmake grcov halium lcov libssl mkdir popd printf pushd rustc rustfmt rustup shopt xargs
|
# spell-checker:ignore (shell/tools) choco clippy dmake dpkg esac fakeroot gmake grcov halium lcov libssl mkdir popd printf pushd rustc rustfmt rustup shopt xargs
|
||||||
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils gnueabihf issuecomment maint nullglob onexitbegin onexitend runtest tempfile testsuite uutils
|
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils gnueabihf issuecomment maint nullglob onexitbegin onexitend runtest tempfile testsuite uutils
|
||||||
|
|
||||||
|
# ToDO: [2021-06; rivy] change from `cargo-tree` to `cargo tree` once MSRV is >= 1.45
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PROJECT_NAME: coreutils
|
PROJECT_NAME: coreutils
|
||||||
PROJECT_DESC: "Core universal (cross-platform) utilities"
|
PROJECT_DESC: "Core universal (cross-platform) utilities"
|
||||||
|
@ -189,7 +191,7 @@ jobs:
|
||||||
# tooling info display
|
# tooling info display
|
||||||
echo "## tooling"
|
echo "## tooling"
|
||||||
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
||||||
rustup -V
|
rustup -V 2>/dev/null
|
||||||
rustup show active-toolchain
|
rustup show active-toolchain
|
||||||
cargo -V
|
cargo -V
|
||||||
rustc -V
|
rustc -V
|
||||||
|
@ -198,7 +200,7 @@ jobs:
|
||||||
echo "## dependency list"
|
echo "## dependency list"
|
||||||
cargo fetch --locked --quiet
|
cargo fetch --locked --quiet
|
||||||
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
|
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
|
||||||
RUSTUP_TOOLCHAIN=stable cargo-tree tree --frozen --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
|
RUSTUP_TOOLCHAIN=stable cargo-tree tree --locked --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
@ -410,7 +412,7 @@ jobs:
|
||||||
# tooling info display
|
# tooling info display
|
||||||
echo "## tooling"
|
echo "## tooling"
|
||||||
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
||||||
rustup -V
|
rustup -V 2>/dev/null
|
||||||
rustup show active-toolchain
|
rustup show active-toolchain
|
||||||
cargo -V
|
cargo -V
|
||||||
rustc -V
|
rustc -V
|
||||||
|
@ -418,7 +420,7 @@ jobs:
|
||||||
# dependencies
|
# dependencies
|
||||||
echo "## dependency list"
|
echo "## dependency list"
|
||||||
cargo fetch --locked --quiet
|
cargo fetch --locked --quiet
|
||||||
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
|
cargo-tree tree --locked --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
|
- name: Build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
6
.github/workflows/FixPR.yml
vendored
6
.github/workflows/FixPR.yml
vendored
|
@ -2,6 +2,8 @@ name: FixPR
|
||||||
|
|
||||||
# Trigger automated fixes for PRs being merged (with associated commits)
|
# Trigger automated fixes for PRs being merged (with associated commits)
|
||||||
|
|
||||||
|
# ToDO: [2021-06; rivy] change from `cargo-tree` to `cargo tree` once MSRV is >= 1.45
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_TARGET: master
|
BRANCH_TARGET: master
|
||||||
|
|
||||||
|
@ -64,7 +66,7 @@ jobs:
|
||||||
## tooling info display
|
## tooling info display
|
||||||
echo "## tooling"
|
echo "## tooling"
|
||||||
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
which gcc >/dev/null 2>&1 && (gcc --version | head -1) || true
|
||||||
rustup -V
|
rustup -V 2>/dev/null
|
||||||
rustup show active-toolchain
|
rustup show active-toolchain
|
||||||
cargo -V
|
cargo -V
|
||||||
rustc -V
|
rustc -V
|
||||||
|
@ -73,7 +75,7 @@ jobs:
|
||||||
echo "## dependency list"
|
echo "## dependency list"
|
||||||
cargo fetch --locked --quiet
|
cargo fetch --locked --quiet
|
||||||
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
|
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
|
||||||
RUSTUP_TOOLCHAIN=stable cargo-tree tree --frozen --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
|
RUSTUP_TOOLCHAIN=stable cargo-tree tree --locked --all --no-dev-dependencies --no-indent --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
|
||||||
- name: Commit any changes (to '${{ env.BRANCH_TARGET }}')
|
- name: Commit any changes (to '${{ env.BRANCH_TARGET }}')
|
||||||
uses: EndBug/add-and-commit@v7
|
uses: EndBug/add-and-commit@v7
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -58,6 +58,9 @@ Haitao Li
|
||||||
Inokentiy Babushkin
|
Inokentiy Babushkin
|
||||||
Inokentiy
|
Inokentiy
|
||||||
Babushkin
|
Babushkin
|
||||||
|
Jan Scheer * jhscheer
|
||||||
|
Jan
|
||||||
|
Scheer
|
||||||
Jeremiah Peschka
|
Jeremiah Peschka
|
||||||
Jeremiah
|
Jeremiah
|
||||||
Peschka
|
Peschka
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue