Skip to content

Commit

Permalink
Run clang-format lint on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
achernya committed Aug 8, 2023
1 parent 05c7ace commit 685283e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: clang-format-lint

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.16.2
with:
source: './src'
style: file
clangFormatVersion: 14

0 comments on commit 685283e

Please sign in to comment.