Re-enable check-unused-dependencies in CI (#5172)
# Objective Fixes #5155. This *should* work now that the semver breaking dependency of the CI crate got yanked, but we'll see what CI has to say about it.
This commit is contained in:
parent
a1a07945d6
commit
4c5e30a9f8
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
@ -272,27 +272,27 @@ jobs:
|
|||||||
echo "if this step fails, run the following command and commit the changed file on your PR."
|
echo "if this step fails, run the following command and commit the changed file on your PR."
|
||||||
echo " > cargo run -p build-example-pages -- update"
|
echo " > cargo run -p build-example-pages -- update"
|
||||||
git diff --quiet HEAD --
|
git diff --quiet HEAD --
|
||||||
# TODO: re-enable once cargo-udeps builds with changes from rust 1.62
|
|
||||||
# check-unused-dependencies:
|
check-unused-dependencies:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.cargo/bin/
|
~/.cargo/bin/
|
||||||
# ~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
# ~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
# ~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
# target/
|
target/
|
||||||
# key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
|
||||||
# - uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
# with:
|
with:
|
||||||
# toolchain: nightly
|
toolchain: nightly
|
||||||
# override: true
|
override: true
|
||||||
# - name: Installs cargo-udeps
|
- name: Installs cargo-udeps
|
||||||
# run: cargo install --force cargo-udeps
|
run: cargo install --force cargo-udeps
|
||||||
# - name: Install alsa and udev
|
- name: Install alsa and udev
|
||||||
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
|
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
|
||||||
# - name: Run cargo udeps
|
- name: Run cargo udeps
|
||||||
# run: cargo udeps
|
run: cargo udeps
|
||||||
|
Loading…
Reference in New Issue
Block a user