spoticord/.github/workflows/cargo-clippy.yml
DaXcess bba96969e2
General housekeeping
- Updated dependencies
- Updated rust version in Dockerfile
- Updated workflow scripts to newer versions
- Replaced lazy_static with LazyLock
- Added descriptions to update behavior
2024-08-19 12:05:34 +02:00

25 lines
427 B
YAML

name: Cargo Clippy
on:
pull_request:
branches:
- main
- dev
jobs:
clippy:
name: Run Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run Cargo Clippy
run: cargo clippy --all-targets --all-features -- -D warnings