Skip to content

[DPNDBT]: Bump tokio from 1.38.1 to 1.39.2 in the dependencies group #321

[DPNDBT]: Bump tokio from 1.38.1 to 1.39.2 in the dependencies group

[DPNDBT]: Bump tokio from 1.38.1 to 1.39.2 in the dependencies group #321

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug-
- run: cargo check --verbose
clippy:
runs-on: ubuntu-latest
needs: ['check']
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug-
- run: cargo clippy --no-deps -- -Dclippy::all -Wclippy::pedantic
rustfmt:
runs-on: ubuntu-latest
needs: ['check']
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all -- --check