Skip to content

Commit

Permalink
Add clang format checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Duzzuti committed Dec 21, 2023
1 parent 6dfc33e commit 37fea19
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 64 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Clang_Format

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'src/players/*/'
- 'include'
- 'tests'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path }}
fallback-style: 'Google'
64 changes: 0 additions & 64 deletions .github/workflows/msvc.yml

This file was deleted.

0 comments on commit 37fea19

Please sign in to comment.