mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
[Crate] Enforce formatting in CI (#46)
* [CI] Check formatting * Format all files
This commit is contained in:
parent
a6279177bb
commit
b95b2abe0f
76 changed files with 251 additions and 170 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -28,3 +28,10 @@ jobs:
|
|||
override: true
|
||||
- name: Run MSRV
|
||||
run: cargo build
|
||||
- name: Install nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
components: rustfmt
|
||||
- name: Run formatting check
|
||||
run: cargo +nightly fmt --check --verbose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue