diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be269fef5..e3d459cf28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,3 +73,20 @@ jobs: - name: Execute tests for all crates in the workspace run: cargo test --all + + clippy: + name: Lint code + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 + + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + components: clippy + + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features --all-targets \ No newline at end of file