Skip to content

Add Clippy workflow (#3) #4

Add Clippy workflow (#3)

Add Clippy workflow (#3) #4

Workflow file for this run

name: Clippy
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install Clippy
run: rustup component add clippy
- name: Run cargo clippy
run: cargo clippy -- -D warnings