Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Oct 4, 2023
1 parent 595b95e commit 7c5103e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Clippy check

on:
workflow_dispatch:
pull_request:

jobs:
clippy-check:
runs-on: ubuntu-latest

steps:

- name: Checkout repo
uses: actions/checkout@v4

- name: Rustup add Clippy
run: rustup component add clippy

- name: Run linter
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

0 comments on commit 7c5103e

Please sign in to comment.