Skip to content

chore(deps): bump serde_json from 1.0.128 to 1.0.133 #206

chore(deps): bump serde_json from 1.0.128 to 1.0.133

chore(deps): bump serde_json from 1.0.128 to 1.0.133 #206

# This workflow runs whenever a PR is opened or updated, or a commit is pushed to master.
# It runs several checks:
# - fmt: checks that the code is formatted according to rustfmt
# - clippy: checks that the code does not contain any clippy warnings
# - doc: checks that the code can be documented without errors (including OpenAPI)
name: static analysis
permissions:
contents: read
on:
push:
branches: ['master']
pull_request:
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR.
# This Ensures that we don't waste CI time, and returns results quicker.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: 'always'
SQLX_OFFLINE: '1'
jobs:
clippy:
name: clippy
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: cargo clippy
run: |
cargo clippy --workspace --all-features --no-deps -- -Dwarnings
cargo clippy --workspace --tests --no-deps -- -Dwarnings
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust Nightly
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: cargo fmt
run: cargo +nightly fmt --all --check
docs:
name: rustdoc / OpenAPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: cargo doc
run: |
cargo doc --all-features --document-private-items --no-deps
cargo run generate-schema --check api-spec.json