Skip to content

Commit b009c87

Browse files
authored
Auto-format code with "cargo fmt" and check in CI (#615)
* add rustfmt check to CI * Run "cargo fmt" (rustfmt) over core-foundation-rs
1 parent 127f2be commit b009c87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+6072
-3579
lines changed

.github/workflows/rust.yml

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ env:
1212
CARGO_TERM_COLOR: always
1313

1414
jobs:
15+
rustfmt:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: dtolnay/rust-toolchain@master
20+
with:
21+
toolchain: stable
22+
components: rustfmt
23+
- run: cargo fmt --check
1524
semver:
1625
runs-on: macos-11.0
1726
steps:

0 commit comments

Comments
 (0)