actions-rs / clippy-check

📎 GitHub Action for PR annotations with clippy warnings
https://github.com/marketplace/actions/rust-clippy-check
MIT License
287 stars 40 forks source link

Option to only create annotations instead of using a separate check run #156

Open Purpzie opened 3 years ago

Purpzie commented 3 years ago

Do the checklist before filing an issue:

Motivation

It would be nice if actions-rs/clippy-check worked like actions-rs/cargo, and just created annotations. This would prevent it from creating an unnecessary check run to display the results in a table. The cargo action doesn't display the full details like clippy-check does.

Workflow example

- uses: actions/rs@clippy-check@v1
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    only-annotations: true

Additional context

This would also be useful to prevent #45 from happening until that gets fixed one day.