mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Fix cargo-udeps
This commit is contained in:
8
.github/workflows/test-suite.yml
vendored
8
.github/workflows/test-suite.yml
vendored
@@ -12,7 +12,9 @@ env:
|
|||||||
# Deny warnings in CI
|
# Deny warnings in CI
|
||||||
RUSTFLAGS: "-D warnings"
|
RUSTFLAGS: "-D warnings"
|
||||||
# The Nightly version used for cargo-udeps, might need updating from time to time.
|
# 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:
|
jobs:
|
||||||
target-branch-check:
|
target-branch-check:
|
||||||
name: target-branch-check
|
name: target-branch-check
|
||||||
@@ -359,12 +361,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Install Rust (${{ env.PINNED_NIGHTLY }})
|
- name: Install Rust (${{ env.PINNED_NIGHTLY }})
|
||||||
run: rustup toolchain install $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
|
- name: Install Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1
|
||||||
- name: Install cargo-udeps
|
- 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
|
- name: Create Cargo config dir
|
||||||
run: mkdir -p .cargo
|
run: mkdir -p .cargo
|
||||||
- name: Install custom Cargo config
|
- name: Install custom Cargo config
|
||||||
|
|||||||
@@ -42,3 +42,6 @@ snap = "1.0.1"
|
|||||||
beacon_chain = { path = "../beacon_node/beacon_chain" }
|
beacon_chain = { path = "../beacon_node/beacon_chain" }
|
||||||
store = { path = "../beacon_node/store" }
|
store = { path = "../beacon_node/store" }
|
||||||
malloc_utils = { path = "../common/malloc_utils" }
|
malloc_utils = { path = "../common/malloc_utils" }
|
||||||
|
|
||||||
|
[package.metadata.cargo-udeps.ignore]
|
||||||
|
normal = ["malloc_utils"]
|
||||||
|
|||||||
Reference in New Issue
Block a user