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

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