Skip to content

Commit

Permalink
refactor(ci): update format command
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 23, 2024
1 parent af4b590 commit 2d5a486
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ jobs:
- name: 📋 Install Dependencies
run: pip install -U cmakelang

- name: 🏗️ Format
run: ./format-project.sh

- name: 🔍 Check changes
- name: 🔍 Check Format
run: |
if [[ $(git diff-index --name-only --exit-code HEAD) ]]; then
git diff
exit -1
fi
cmake -B build
cmake --build build --target format-check

0 comments on commit 2d5a486

Please sign in to comment.