Skip to content

chore(deps): Bump serde from 1.0.215 to 1.0.216 (#900) #2437

chore(deps): Bump serde from 1.0.215 to 1.0.216 (#900)

chore(deps): Bump serde from 1.0.215 to 1.0.216 (#900) #2437

Workflow file for this run

name: Lint
on:
push:
branches: [main, release-*]
pull_request:
branches: [main, release-*]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Run cargo fmt
run: |
cargo fmt --all -- --check
- name: Run cargo clippy
run: |
cargo clippy --all --all-targets -- -D warnings