Skip to content

build(deps): bump tokio from 1.47.1 to 1.48.0 #515

build(deps): bump tokio from 1.47.1 to 1.48.0

build(deps): bump tokio from 1.47.1 to 1.48.0 #515

Workflow file for this run

name: Lint Rust
on: [ pull_request ]
jobs:
rust-lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Filter
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
rust:
- '**/Cargo.lock'
- '**/Cargo.toml'
- '**/*.rs'
- '.github/workflows/rust-lint.yml'
- name: Use Node.js
if: steps.filter.outputs.rust == 'true'
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Update Rust
if: steps.filter.outputs.rust == 'true'
run: rustup update
- name: Add Clippy
if: steps.filter.outputs.rust == 'true'
run: rustup component add clippy
- name: Build Rust project
if: steps.filter.outputs.rust == 'true'
run: cargo build
- name: Rust Format check
if: steps.filter.outputs.rust == 'true'
run: cargo fmt -- --check
- name: Rust Clippy check
if: steps.filter.outputs.rust == 'true'
run: cargo clippy -- -D warnings