Skip to content

Commit

Permalink
Update clang-format.yml
Browse files Browse the repository at this point in the history
to run on `Tests` and `Sources`
  • Loading branch information
GLinnik21 committed May 21, 2024
1 parent d6d6808 commit 972a46e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: clang-format Check
name: Check Format
on:
pull_request:
paths:
- 'Sources/**'
- 'Tests/**'
- '.github/workflows/clang-format.yml'
jobs:
formatting-check:
name: Formatting Check
name: Run clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check.
uses: jidicula/clang-format-action@v4.12.0
with:
clang-format-version: '18'
check-path: 'Sources'
include-regex: '(Tests|Sources)\/.*'

0 comments on commit 972a46e

Please sign in to comment.