Skip to content

build(deps): update serde_json requirement from =1.0.113 to =1.0.114 #632

build(deps): update serde_json requirement from =1.0.113 to =1.0.114

build(deps): update serde_json requirement from =1.0.113 to =1.0.114 #632

Workflow file for this run

name: Rust
on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libclang
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-features -- -D warnings