Skip to content

Commit

Permalink
Auto-format code with "cargo fmt" and check in CI (#615)
Browse files Browse the repository at this point in the history
* add rustfmt check to CI

* Run "cargo fmt" (rustfmt) over core-foundation-rs
  • Loading branch information
micolous committed Jul 25, 2023
1 parent 127f2be commit b009c87
Show file tree
Hide file tree
Showing 102 changed files with 6,072 additions and 3,579 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit b009c87

Please sign in to comment.