⬆️ Bump serde_json from 1.0.115 to 1.0.116 #240
Workflow file for this run
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
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: ⬇️ checkout repository | |
uses: actions/checkout@v4 | |
- name: 🛠 setup cargo toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: ♻️ cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: ${{ matrix.os }} | |
- name: ✅ run cargo check | |
run: cargo check | |
lint: | |
needs: check | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ checkout repository | |
uses: actions/checkout@v4 | |
- name: 🛠 setup cargo toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: ♻️ cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: ubuntu-latest | |
- name: 🔍 run cargo fmt | |
run: cargo fmt --check | |
- name: 🔍 run cargo fix | |
run: cargo fix | |
- name: 🔍 run cargo clippy | |
run: cargo clippy -- -Dwarnings |