Skip to content

black: don't reformat git submodules #375

black: don't reformat git submodules

black: don't reformat git submodules #375

Workflow file for this run

# https://doc.rust-lang.org/stable/clippy/continuous_integration/github_actions.html
on: push
name: rustfmt
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- name: Run rustfmt
run: cargo fmt --all --check