Skip to content

auguwu/clippy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

πŸ»β€β„οΈπŸ“¦ Clippy GitHub Action

GitHub action to run Clippy, an up-to-date and modern version of actions-rs/clippy

clippy-action is a modernized and up-to-date version of actions-rs/clippy that takes advantage of GitHub's new features related to actions, and keeps dependencies up to date as actions-rs/clippy has been unmaintained since 2020.

Usage

jobs:
    clippy:
        name: Clippy
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - uses: dtolnay/rust-toolchain@stable
              with:
                  components: clippy
            - uses: auguwu/clippy-action@1.2.1
              with:
                  token: ${{secrets.GITHUB_TOKEN}}

This action does allow writing check runs for Clippy results. To enable it, you will need to add this to your workflow:

permissions:
    checks: write

License

clippy-action is released under the Apache 2.0 License with love by Noel!