Merge pull request #42 from 255doesnotexist/dependabot/cargo/serde-1.… #142
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: [self-hosted, linux] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: clippy | |
- name: Run Clippy | |
run: cargo clippy -- -D warnings |