-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Clang Format Checks to CI (#490)
* Added C++ Format Checking to CI Signed-off-by: Redfire <[email protected]> * Fixed C++ Formatting Signed-off-by: Redfire <[email protected]> --------- Signed-off-by: Redfire <[email protected]>
- Loading branch information
1 parent
9e070eb
commit a57a4a7
Showing
2 changed files
with
45 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,8 +194,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Check formatting | ||
- name: Check Rust formatting | ||
run: cargo fmt --check | ||
- name: Check C++ formatting | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: "18" | ||
exclude-regex: mozjs-sys\/mozjs | ||
- name: Get mozjs | ||
run: | | ||
bash ./mozjs-sys/etc/get_mozjs.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters