diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 000000000..7ddfd33bc --- /dev/null +++ b/.github/workflows/clippy.yml @@ -0,0 +1,14 @@ +name: clippy-action +on: [pull_request] +jobs: + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + components: clippy + - uses: giraffate/clippy-action@v1.0.1 + with: + reporter: "github-pr-review"