Skip to content

Commit

Permalink
Add format check
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Mar 11, 2024
1 parent 51db615 commit df7431e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/format-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PR validation
on:
push:
branches: ['master']

pull_request:
branches: ['master']

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

formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '11'

0 comments on commit df7431e

Please sign in to comment.