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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user