diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 923a12e..d953641 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -18,8 +18,8 @@ env: RUSTFLAGS: "-D warnings -C debuginfo=0" # Prevent Github API rate limiting. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Enable self-hosted runners for the sigp repo only. - SELF_HOSTED_RUNNERS: ${{ github.repository == 'sigp/ssv' }} + # Enable self-hosted runners for the SSV repo only. + SELF_HOSTED_RUNNERS: false # ${{ github.repository == 'sigp/ssv' }} # Self-hosted runners need to reference a different host for `./watch` tests. WATCH_HOST: ${{ github.repository == 'sigp/ssv' && 'host.docker.internal' || 'localhost' }} # Disable incremental compilation @@ -64,7 +64,7 @@ jobs: needs: [check-labels] if: needs.check-labels.outputs.skip_ci != 'true' # Use self-hosted runners only on the sigp repo. - runs-on: ${{ github.repository == 'sigp/ssv' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }} + runs-on: ubuntu-latest #${{ github.repository == 'sigp/ssv' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 - name: Get latest version of stable Rust @@ -81,38 +81,12 @@ jobs: - name: Show cache stats if: env.SELF_HOSTED_RUNNERS == 'true' run: sccache --show-stats - release-tests-windows: - name: release-tests-windows - needs: [check-labels] - if: needs.check-labels.outputs.skip_ci != 'true' - runs-on: ${{ github.repository == 'sigp/ssv' && fromJson('["self-hosted", "windows", "CI"]') || 'windows-2019' }} - steps: - - uses: actions/checkout@v4 - - name: Get latest version of stable Rust - if: env.SELF_HOSTED_RUNNERS == 'false' - uses: moonrepo/setup-rust@v1 - with: - channel: stable - cache-target: release - bins: cargo-nextest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install make - if: env.SELF_HOSTED_RUNNERS == 'false' - run: choco install -y make - - name: Set LIBCLANG_PATH - run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV - - name: Run tests in release - run: make nextest-release - - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' - run: sccache --show-stats debug-tests-ubuntu: name: debug-tests-ubuntu needs: [check-labels] if: needs.check-labels.outputs.skip_ci != 'true' # Use self-hosted runners only on the sigp repo. - runs-on: ${{ github.repository == 'sigp/ssv' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }} + runs-on: ubuntu-latest #${{ github.repository == 'sigp/ssv' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: @@ -148,10 +122,6 @@ jobs: run: make lint - name: Certify Cargo.lock freshness run: git diff --exit-code Cargo.lock - - name: Typecheck benchmark code without running it - run: make check-benches - - name: Validate state_processing feature arbitrary-fuzz - run: make arbitrary-fuzz - name: Run cargo audit run: make audit-CI - name: Run cargo vendor to make sure dependencies can be vendored for packaging, reproducibility and archival purpose diff --git a/book/src/developers.md b/book/src/developers.md index 227c94e..12fd7ef 100644 --- a/book/src/developers.md +++ b/book/src/developers.md @@ -4,4 +4,3 @@ _Documentation for protocol developers._ This section lists Lighthouse-specific decisions that are not strictly spec'd and may be useful for other protocol developers wishing to interact with SSV. - diff --git a/book/src/faq.md b/book/src/faq.md index 3ff2d1f..9c1d761 100644 --- a/book/src/faq.md +++ b/book/src/faq.md @@ -2,6 +2,6 @@ - [What is sigp/SSV](#sigp-ssv) -### What is sigp/SSV +## What is sigp/SSV The rust implementation of the Secret Shared Validator (SSV) protocol. diff --git a/book/src/intro.md b/book/src/intro.md index 631c13c..8c45f08 100644 --- a/book/src/intro.md +++ b/book/src/intro.md @@ -2,7 +2,7 @@ _Documentation for SSV users and developers._ -This is the SSV client. +This is the SSV client. ## About this Book diff --git a/book/src/setup.md b/book/src/setup.md index 49ed7c3..7e4accc 100644 --- a/book/src/setup.md +++ b/book/src/setup.md @@ -32,8 +32,8 @@ As with most other Rust projects, SSV uses `cargo test` for unit and integration tests. For example, to test the `qbft` crate run: ```bash -$ cd src/qbft -$ cargo test +cd src/qbft +cargo test ``` ## Local Testnets