Skip to content

Commit 3fc2b59

Browse files
alice-i-cecileItsDoot
authored andcommitted
Re-enable check-unused-dependencies in CI (bevyengine#5172)
# Objective Fixes bevyengine#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.
1 parent 46989ad commit 3fc2b59

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -272,27 +272,27 @@ jobs:
272272
echo "if this step fails, run the following command and commit the changed file on your PR."
273273
echo " > cargo run -p build-example-pages -- update"
274274
git diff --quiet HEAD --
275-
# TODO: re-enable once cargo-udeps builds with changes from rust 1.62
276-
# check-unused-dependencies:
277-
# runs-on: ubuntu-latest
278-
# steps:
279-
# - uses: actions/checkout@v3
280-
# - uses: actions/cache@v3
281-
# with:
282-
# path: |
283-
# ~/.cargo/bin/
284-
# ~/.cargo/registry/index/
285-
# ~/.cargo/registry/cache/
286-
# ~/.cargo/git/db/
287-
# target/
288-
# key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
289-
# - uses: actions-rs/toolchain@v1
290-
# with:
291-
# toolchain: nightly
292-
# override: true
293-
# - name: Installs cargo-udeps
294-
# run: cargo install --force cargo-udeps
295-
# - name: Install alsa and udev
296-
# run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
297-
# - name: Run cargo udeps
298-
# run: cargo udeps
275+
276+
check-unused-dependencies:
277+
runs-on: ubuntu-latest
278+
steps:
279+
- uses: actions/checkout@v3
280+
- uses: actions/cache@v3
281+
with:
282+
path: |
283+
~/.cargo/bin/
284+
~/.cargo/registry/index/
285+
~/.cargo/registry/cache/
286+
~/.cargo/git/db/
287+
target/
288+
key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }}
289+
- uses: actions-rs/toolchain@v1
290+
with:
291+
toolchain: nightly
292+
override: true
293+
- name: Installs cargo-udeps
294+
run: cargo install --force cargo-udeps
295+
- name: Install alsa and udev
296+
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
297+
- name: Run cargo udeps
298+
run: cargo udeps

0 commit comments

Comments
 (0)