Bump serde_json from 1.0.125 to 1.0.127 in the cargo group (#19) #112
This file contains hidden or 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: Pre-commit | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pre-commit: | |
uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main | |
cargo-tools: | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update | |
- name: Cache .cargo locked resources | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cargo | |
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} | |
- name: cargo clippy | |
run: cargo clippy | |
- name: cargo fmt | |
run: cargo fmt --check |