Skip to content

Commit

Permalink
Merge branch 'format-check' of github.com:jabacat/jml into format-check
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeRoggenbuck committed Oct 16, 2023
2 parents 645cc45 + a945fd1 commit ff42f84
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: format

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: format
run: |
cd core
find . -iname "*.hpp" -o -iname "*.cpp" -o -iname "*.c" -o -iname "*.h" | xargs -I {} clang-format -i --dry-run --Werror -style='{IndentWidth: 4}' {}

0 comments on commit ff42f84

Please sign in to comment.