Skip to content

feat(abi): prove hash-chain integrity, version ordering & lineage acy… #248

feat(abi): prove hash-chain integrity, version ordering & lineage acy…

feat(abi): prove hash-chain integrity, version ordering & lineage acy… #248

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
# Rust CI - cargo check + clippy + fmt + test on stable and MSRV
name: Rust CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: rust-ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check:
name: cargo check (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets -- -D warnings
test:
name: cargo test (${{ matrix.rust }})
runs-on: ubuntu-latest
needs: check
strategy:
fail-fast: false
matrix:
rust:
- "1.85"
- "stable"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.rust }}
- name: cargo test
run: cargo test --all-targets --no-fail-fast