Skip to content

chore: del cargo fmt (strict) #2

chore: del cargo fmt (strict)

chore: del cargo fmt (strict) #2

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [ main ]
jobs:
# format:
# name: cargo fmt
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Setup toolchain
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: nightly
# components: rustfmt
#
# - name: Run fmt
# run: cargo +nightly fmt --all -- --check --unstable-features
cargo-clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets --all-features --workspace -- -D warnings