ThirdPart: HevTaskSystem: Update to 13bb2ba. #53
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
name: "Check code formatting" | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
checker: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Prepare | |
run: | | |
sudo apt install -y clang-format | |
- name: Format | |
run: | | |
find src -iname "*.[h,c]" -exec clang-format -i {} \; | |
- name: Check | |
run: | | |
git status | |
git diff --quiet |