Skip to content

Merge BlockstreamResearch/simplicity-contracts#56: Add SimplicityNetw… #205

Merge BlockstreamResearch/simplicity-contracts#56: Add SimplicityNetw…

Merge BlockstreamResearch/simplicity-contracts#56: Add SimplicityNetw… #205

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
workflow_call:
permissions:
contents: read
jobs:
lint:
name: Format and Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust (stable)
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Format check
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings