Skip to content

docs: add template for PRs (#40) #17

docs: add template for PRs (#40)

docs: add template for PRs (#40) #17

Workflow file for this run

name: Lint Rust Code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy Check
run: cargo clippy -- -D warnings
- name: Run Format Check
run: cargo fmt -- --check