This commit is contained in:
Nick Gerleman
2022-10-14 07:26:16 -07:00
parent 55d614c4c2
commit 6168ad818e
4 changed files with 50 additions and 20 deletions

14
.github/actions/clang-format/action.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Clang Format
inputs:
directory:
description: Directory to Lint
required: true
runs:
using: "composite"
steps:
- name: clang-format ${{ inputs.directory }}
uses: jidicula/clang-format-action@v4.9.0
with:
clang-format-version: '12' # This should be roughly in sync with Arcanist
check-path: ${{ inputs.directory }}