build(deps): bump serde_json from 1.0.128 to 1.0.132 (#203) #602
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
# Run Clippy | |
name: Clippy | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
jobs: | |
clippy: | |
strategy: | |
fail-fast: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
# Cache Rust | |
- uses: actions/cache@v3 | |
with: | |
path: ./target | |
key: ${{ hashFiles('./Cargo.lock') }} | |
# Cache Rust | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cargo | |
key: ${{ hashFiles('./Cargo.lock') }} | |
- name: Install Rust with Clippy | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- name: Run Clippy | |
run: cargo clippy |