Skip to content

chore: update serde_json to latest version (#107) #230

chore: update serde_json to latest version (#107)

chore: update serde_json to latest version (#107) #230

Workflow file for this run

name: Rust CI
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ฆ Checkout
uses: actions/checkout@v4
- name: ๐Ÿฆ€ Rust Toolchain & Cache
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: ๐Ÿ“ Check Rust Code Formatting
run: cargo fmt --all -- --check
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ฆ Checkout
uses: actions/checkout@v4
- name: ๐Ÿ‘ฎ Check Rust Code with Cargo Deny
uses: EmbarkStudios/cargo-deny-action@v2
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ฆ Checkout
uses: actions/checkout@v4
- name: ๐Ÿฆ€ Rust Toolchain & Cache
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: ๐Ÿ“Ž Check Rust Code with Clippy
run: cargo clippy --all-targets -- -D warnings
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ฆ Checkout
uses: actions/checkout@v4
- name: ๐Ÿฆ€ Rust Toolchain & Cache
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: ๐Ÿ““ Check Docs
env:
RUSTDOCFLAGS: "-D broken-intra-doc-links"
run: cargo doc --no-deps
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ฆ Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: ๐Ÿฆ€ Rust Toolchain & Cache
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: ๐Ÿงช Test
run: cargo test