Skip to content

Merge pull request #11 from TimB87/dependabot/cargo/serde_json-1.0.119 #43

Merge pull request #11 from TimB87/dependabot/cargo/serde_json-1.0.119

Merge pull request #11 from TimB87/dependabot/cargo/serde_json-1.0.119 #43

Workflow file for this run

---
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 }}