Skip to content

Enable triggering PR workflow and fix tests #1326

Enable triggering PR workflow and fix tests

Enable triggering PR workflow and fix tests #1326

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches-ignore:
- main
- release*
jobs:
clippy:
name: Clippy and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Rust Tool Chain setup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Install clippy
run: rustup component add clippy
- name: Cargo Fetch
run: cargo fetch
- name: Check
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-features -- -Dwarnings