Skip to content

Commit

Permalink
CI: Test clang-format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Oct 14, 2024
1 parent c7329fe commit 8afaef6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test-clang-format

on: [push]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: DoozyX/clang-format-lint-action@v0.18.1
with:
source: 'packages/seacas'
exclude: 'packages/seacas/doc-source'
extensions: 'c,C,h,cpp'
clangFormatVersion: 18
style: file

0 comments on commit 8afaef6

Please sign in to comment.