Skip to content

Commit

Permalink
Add Github action to check clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Dina Traykova authored and Dina Traykova committed Aug 14, 2023
1 parent a2ec11e commit 849438d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test-clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check Clang Format

on: [push]

jobs:
format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: '.'
extensions: 'hpp,cpp'
clangFormatVersion: 10

0 comments on commit 849438d

Please sign in to comment.