diff options
author | Daniel McCarney <daniel@binaryparadox.net> | 2023-07-10 16:28:06 -0400 |
---|---|---|
committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2023-07-11 11:01:20 -0700 |
commit | 254e1d68edfbff4729c3230b099eb2708c97da48 (patch) | |
tree | b18c67c9bbd80aad352832143897a4674f862e66 | |
parent | e6bb88bc25b8e30daf5c450fdfcf5079d01d2a6c (diff) |
ci: enforce C formatting w/ make format-check.
This commit extends the existing format task in CI that was enforcing
the use of `cargo fmt` to also call `make format-check` to enforce the
use of `clang-format` for C code.
-rw-r--r-- | .github/workflows/test.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3250a61..61678f8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -161,8 +161,10 @@ jobs: with: toolchain: 1.67.1 components: rustfmt - - name: Check formatting + - name: Check Rust formatting run: cargo fmt --all -- --check + - name: Check C formatting + run: make format-check clippy: name: Clippy |