Skip to content

chore(sidecar/holesky): add preset for delegation, env docs #569

chore(sidecar/holesky): add preset for delegation, env docs

chore(sidecar/holesky): add preset for delegation, env docs #569

Workflow file for this run

name: Bolt Sidecar CI
on:
push:
branches:
- unstable
- main
paths:
- "bolt-sidecar/**"
pull_request:
paths:
- "bolt-sidecar/**"
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cargo-tests:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Check
run: |
cd bolt-sidecar
cargo build
- name: Lint Code with Clippy
run: |
cd bolt-sidecar
cargo clippy --all-targets --all-features -- -D warnings
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-nextest
- name: Install Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: Run bolt-sidecar tests
run: |
cd bolt-sidecar
cargo nextest run --workspace --retries 3
env:
RPC_URL: ${{ secrets.RPC_URL }}