Skip to content

build(deps-dev): bump the frontend-minor-patch group across 1 directory with 3 updates #168

build(deps-dev): bump the frontend-minor-patch group across 1 directory with 3 updates

build(deps-dev): bump the frontend-minor-patch group across 1 directory with 3 updates #168

Workflow file for this run

name: CI
# Fast per-PR gate: the workspace must build and unit tests must pass. This is
# the cheap signal meant to be the required status check for merging. The
# expensive on-chain e2e lives in daily-health.yml and is not a per-PR gate.
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: build & test
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v7
# Blocking: extractor/Cargo.toml cannot inherit the workspace version
# (it is excluded from the workspace); fail fast when it drifts.
- name: Check version sync
run: ./scripts/check-versions.sh
- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo + target
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-ci-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-ci-
# Blocking: these must pass to merge. --all-features so the `cli`-gated
# code (snip36-core::cli_util) is built and its tests run.
- name: Build
run: cargo build --workspace --all-features
- name: Test
run: cargo test --workspace --all-features
# Blocking: the tree is kept fmt-clean and clippy-clean.
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings