Skip to content

chore: pre-push hook replacing cargo check workflow #2

chore: pre-push hook replacing cargo check workflow

chore: pre-push hook replacing cargo check workflow #2

Workflow file for this run

name: Rust Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with: # input params for this action
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt -- --check