Skip to content

feat: implement key seperation in the validator and keystore for devnet4 #3468

feat: implement key seperation in the validator and keystore for devnet4

feat: implement key seperation in the validator and keystore for devnet4 #3468

Workflow file for this run

name: Rust
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
merge_group:
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust nightly
run: rustup install nightly
- name: Install rustfmt for nightly
run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run rustfmt
run: cargo +nightly fmt -- --check
- name: Check `map_err` variable naming
run: make fmt
cargo-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run Clippy
run: |
cargo clippy --all --all-targets --no-deps -- --deny warnings
cargo clippy --package ream-bls --all-targets --features "supranational" --no-deps -- --deny warnings
make clippy-devnet4
cargo-sort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
# Install this commit as there isn't a release yet which works for workspace's
- name: Install cargo sort
run: cargo install --git https://github.com/DevinR528/cargo-sort.git --rev 25a60ad860ce7cd0055abf4b69c18285cb07ab41 cargo-sort
- name: Run cargo sort
run: cargo sort --grouped --check --workspace
build:
runs-on: ubuntu-latest
needs: [format, cargo-clippy]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build
run: cargo build --verbose
test-default:
name: test default
needs: [format, cargo-clippy]
uses: ./.github/workflows/tests-matrix.yml
with:
network: default
test-devnet4:
name: test devnet4
needs: [format, cargo-clippy]
uses: ./.github/workflows/tests-matrix.yml
with:
network: devnet4
ef-tests:
runs-on: ubuntu-latest
needs: [format, cargo-clippy]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Test consensus spec tests
run: cd testing/ef-tests && make test
lean-spec-tests:
runs-on: ubuntu-latest
needs: [format, cargo-clippy]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Test lean spec tests
run: cd testing/lean-spec-tests && make test