Skip to content

chore(deps): bump serde_json from 1.0.117 to 1.0.124 #303

chore(deps): bump serde_json from 1.0.117 to 1.0.124

chore(deps): bump serde_json from 1.0.117 to 1.0.124 #303

Workflow file for this run

on:
pull_request:
branches: [main]
push:
branches: [main]
name: CI
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.77.2
components: rustfmt
- name: Run rustfmt
run: cargo fmt -- --check
clippy:
needs: [fmt]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.77.2
- name: Run clippy
run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
timeout-minutes: 10
test:
needs: [fmt]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
name: test-${{matrix.os}}
toolchain: 1.77.2
- name: Run unit tests
run: cargo test --locked --all-targets --workspace --all-features
timeout-minutes: 10
conclusion:
needs: [fmt, clippy, test]
if: always()
runs-on: ubuntu-latest
steps:
- name: Result
run: |
jq -C <<< "${needs}"
# Check if all needs were successful or skipped.
"$(jq -r 'all(.result as $result | (["success", "skipped"] | contains([$result])))' <<< "${needs}")"
env:
needs: ${{ toJson(needs) }}