Skip to content

Commit

Permalink
CI: run clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
hrantzsch committed Jul 25, 2023
1 parent 0f51db2 commit 2db8d29
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check Format

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format
run: clang-format --dry-run --Werror include/**/*.h src/**/*.cpp

0 comments on commit 2db8d29

Please sign in to comment.