Merge pull request #11 from TimB87/dependabot/cargo/serde_json-1.0.119 #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: rust-clippy analyze | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
rust-clippy-analyze: | |
name: Run rust-clippy analyzing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Install libnotify | |
run: | | |
sudo apt-get update | |
sudo apt-get install libnotify-dev | |
- name: Use cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Run clippy | |
uses: giraffate/clippy-action@v1 | |
with: | |
reporter: 'github-pr-review' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |