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 7cdaed3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/format-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR validation
on:
push:
branches: ['master']

pull_request:
branches: ['master']

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

jobs:
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/clang-format-action@v4.11.0
with:
clang-format-version: '11'

0 comments on commit 7cdaed3

Please sign in to comment.