https://github.com/auguwu/clippy-action
🐻❄️📦 GitHub action to run Clippy, an up-to-date and modern version of actions-rs/clippy
https://github.com/auguwu/clippy-action
cargo-clippy clippy github-action typescript
Last synced: about 1 year ago
JSON representation
🐻❄️📦 GitHub action to run Clippy, an up-to-date and modern version of actions-rs/clippy
- Host: GitHub
- URL: https://github.com/auguwu/clippy-action
- Owner: auguwu
- License: apache-2.0
- Created: 2023-05-21T01:53:59.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T17:32:51.000Z (over 1 year ago)
- Last Synced: 2024-10-29T18:56:18.054Z (over 1 year ago)
- Topics: cargo-clippy, clippy, github-action, typescript
- Language: TypeScript
- Homepage:
- Size: 4.09 MB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 🐻❄️📦 Clippy GitHub Action
> _GitHub action to run Clippy, an up-to-date and modern version of [actions-rs/clippy](https://github.com/actions-rs/clippy)_
**clippy-action** is a modernized and up-to-date version of [actions-rs/clippy](https://github.com/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
```yaml
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.4.0
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:
```yaml
permissions:
checks: write
```
## License
**clippy-action** is released under the [Apache 2.0](https://github.com/auguwu/clippy-action/blob/master/LICENSE) License with love by [Noel](https://floofy.dev)!