Skip to content

Bump the dependencies group with 4 updates #52

Bump the dependencies group with 4 updates

Bump the dependencies group with 4 updates #52

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
jobs:
rustfmt:
name: Rustfmt (format)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest stable Rust version
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt -- --check
clippy_check:
name: Clippy check (lint)
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v4
- name: Install latest stable Rust version
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --locked