Skip to content

Commit

Permalink
Create clippy.yml
Browse files Browse the repository at this point in the history
run clippy on every commit.
bsamseth authored Aug 21, 2024
1 parent 2d145bf commit d8a9403
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Clippy pedantic mode

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Clippy
run: cargo clippy --all -- -W clippy::all -W clippy::pedantic

0 comments on commit d8a9403

Please sign in to comment.