Skip to content

Commit

Permalink
Fix cargo-udeps
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Nov 9, 2022
1 parent 6c42aef commit 93457d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions lcli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 93457d8

Please sign in to comment.