e715db8b99
## Proposed Changes Set a minimum supported Rust version (MSRV) in the `Cargo.toml` for the Lighthouse binary so that attempts to compile it with an outdated compiler fail immediately with a clear error. To ensure that the codebase builds with the MSRV I've also added a Github actions job that runs `cargo check` using the MSRV extracted from `Cargo.toml`. This will force us to keep it up to date. I opted to use `cargo check` rather than Clippy because Clippy frequently introduces new lints that we adopt, so our MSRV for Clippy is usually the most recent Rust version, while the MSRV for building Lighthouse is older.
27 lines
641 B
TOML
27 lines
641 B
TOML
status = [
|
|
"cargo-fmt",
|
|
"release-tests-ubuntu",
|
|
"release-tests-windows",
|
|
"debug-tests-ubuntu",
|
|
"state-transition-vectors-ubuntu",
|
|
"ef-tests-ubuntu",
|
|
"dockerfile-ubuntu",
|
|
"eth1-simulator-ubuntu",
|
|
"no-eth1-simulator-ubuntu",
|
|
"check-benchmarks",
|
|
"check-consensus",
|
|
"clippy",
|
|
"arbitrary-check",
|
|
"cargo-audit",
|
|
"cargo-udeps",
|
|
"beacon-chain-tests",
|
|
"op-pool-tests",
|
|
"doppelganger-protection-test",
|
|
"execution-engine-integration-ubuntu",
|
|
"cargo-vendor",
|
|
"check-msrv"
|
|
]
|
|
use_squash_merge = true
|
|
timeout_sec = 10800
|
|
pr_status = ["license/cla", "target-branch-check"]
|