Skip to content

step-security/clippy-action

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@v5
            - uses: dtolnay/rust-toolchain@v1
              with:
                  components: clippy
            - uses: step-security/clippy-action@v1
              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

About

πŸ»β€β„οΈπŸ“¦ GitHub action to run Clippy, an up-to-date and modern version of actions-rs/clippy. Secure drop-in replacement for auguwu/clippy-action.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors