From 41336d34f5f9e962e0468194eb70f3bfebdda349 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 19 Jan 2024 11:29:25 +0100 Subject: [PATCH] Create clippy formatting workflow for PRs (#80) --- .github/workflows/clippy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/clippy.yml 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