actions: add reviewdog

This commit is contained in:
Kavin 2023-08-05 16:32:31 +01:00
parent 5212b4213c
commit 740f9d33e5
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F
1 changed files with 16 additions and 0 deletions

16
.github/workflows/reviewdog.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: reviewdog / clippy
on: pull_request
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- uses: sksat/action-clippy@main
with:
reporter: github-pr-review