Skip to content

chore(repo): use custom taplo configs to format TOML #239

chore(repo): use custom taplo configs to format TOML

chore(repo): use custom taplo configs to format TOML #239

Workflow file for this run

name: Bolt Boost CI
on:
push:
branches:
- unstable
- main
paths:
- "bolt-boost/**"
pull_request:
paths:
- "bolt-boost/**"
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: self-hosted
timeout-minutes: 10
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Check
run: |
cd bolt-boost
cargo check
- name: Lint Code with Clippy
run: |
cd bolt-boost
cargo clippy --all-targets --all-features -- -D warnings
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-nextest
- name: Run bolt-boost tests
run: |
cd bolt-boost
cargo nextest run --workspace --retries 3
env:
RPC_URL: ${{ secrets.RPC_URL }}