Auto-format code with "cargo fmt" and check in CI (#615)

* add rustfmt check to CI

* Run "cargo fmt" (rustfmt) over core-foundation-rs
This commit is contained in:
micolous
2023-07-25 12:22:25 +10:00
committed by GitHub
parent 127f2be94c
commit b009c87f2d
102 changed files with 6060 additions and 3567 deletions
+9
View File
@@ -12,6 +12,15 @@ env:
CARGO_TERM_COLOR: always
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --check
semver:
runs-on: macos-11.0
steps: