Skip to content

Commit

Permalink
Add clippy checks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Oct 21, 2024
1 parent a093cb7 commit 70fb085
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Udeps

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
check_unused_dependencies:
name: Check Unused Dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- name: Run clippy
working-directory: scripts
run: bash scripts/clippy_fix_fmt.sh --no-clean

0 comments on commit 70fb085

Please sign in to comment.