diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 00000000..582e9fda --- /dev/null +++ b/.github/workflows/clippy.yml @@ -0,0 +1,18 @@ +name: Clippy check + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + clippy_check: + runs-on: [ubuntu-latest] + steps: + - uses: actions/checkout@v4 + - run: rustup component add clippy + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features