docs: first draft of USAGE.md #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clippy Check | |
on: | |
push: | |
branches: ["main"] # Runs Clippy on every push to the `main` branch | |
pull_request: | |
branches: ["main"] # Runs Clippy on every pull request targeting `main` | |
permissions: | |
contents: read | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Run Clippy | |
run: cargo clippy -- -D warnings |