Skip to content

Commit

Permalink
Added clang-format check action
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorWeders authored Aug 21, 2024
1 parent 83af8cc commit c5cbbb4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/clang-format-check
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Clang Format Checker
on:
push:
paths:
- 'src/**'
pull_request:
paths:
- 'src/**'
env:
BRANCH_NAME: master
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: wolletd/clang-format-checker@v1
with:
target-ref: ${{ env. BRANCH_NAME }} # required, merge target

0 comments on commit c5cbbb4

Please sign in to comment.