diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8866e68a91..074158656f 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -12,7 +12,9 @@ env: # Deny warnings in CI RUSTFLAGS: "-D warnings" # The Nightly version used for cargo-udeps, might need updating from time to time. - PINNED_NIGHTLY: nightly-2022-05-20 + PINNED_NIGHTLY: nightly-2022-11-08 + # The version of cargo-udeps to use, might need updating from time to time. + CARGO_UDEPS_VERSION: 0.1.35 jobs: target-branch-check: name: target-branch-check @@ -359,12 +361,10 @@ jobs: - uses: actions/checkout@v1 - name: Install Rust (${{ env.PINNED_NIGHTLY }}) run: rustup toolchain install $PINNED_NIGHTLY - # NOTE: cargo-udeps version is pinned until this issue is resolved: - # https://github.com/est31/cargo-udeps/issues/135 - name: Install Protoc uses: arduino/setup-protoc@v1 - name: Install cargo-udeps - run: cargo install cargo-udeps --locked --force --version 0.1.30 + run: cargo install cargo-udeps --locked --force --version $CARGO_UDEPS_VERSION - name: Create Cargo config dir run: mkdir -p .cargo - name: Install custom Cargo config diff --git a/lcli/Cargo.toml b/lcli/Cargo.toml index c6867180dc..8a2420702d 100644 --- a/lcli/Cargo.toml +++ b/lcli/Cargo.toml @@ -42,3 +42,6 @@ snap = "1.0.1" beacon_chain = { path = "../beacon_node/beacon_chain" } store = { path = "../beacon_node/store" } malloc_utils = { path = "../common/malloc_utils" } + +[package.metadata.cargo-udeps.ignore] +normal = ["malloc_utils"]