Skip to content

Commit

Permalink
[CI] add check-format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 committed Aug 15, 2024
1 parent bbf2fe0 commit 050ece3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Check source formatting
on:
workflow_dispatch:
push:
paths:
- '!**/*.yml'
- '.github/workflows/check-format.yml'
- '**/*.cpp'
- '**/*.c'
- '**/*.h'

pull_request:
paths:
- '!**/*.yml'
- '.github/workflows/check-format.yml'
- '**/*.cpp'
- '**/*.c'
- '**/*.h'

jobs:
markdown-link-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: jidicula/[email protected]
with:
clang-format-version: '18'
exclude-regex: '^mk/.*'

0 comments on commit 050ece3

Please sign in to comment.