diff --git a/.github/workflows/run_linters.yaml b/.github/workflows/run_linters.yaml new file mode 100644 index 0000000..856666e --- /dev/null +++ b/.github/workflows/run_linters.yaml @@ -0,0 +1,14 @@ +name: clippy-action +on: [pull_request] +jobs: + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy + - uses: giraffate/clippy-action@v1 + with: + reporter: 'github-pr-review' + github_token: ${{ secrets.GITHUB_TOKEN }}