ObjC
This commit is contained in:
4
.github/actions/clang-format/action.yml
vendored
4
.github/actions/clang-format/action.yml
vendored
@@ -19,5 +19,5 @@ runs:
|
||||
working-directory: ${{ inputs.directory }}
|
||||
shell: bash
|
||||
run: |
|
||||
shopt -s globstar
|
||||
clang-format-${{ inputs.version }} --dry-run --Werror **/*.cpp
|
||||
shopt -s extglob
|
||||
clang-format-${{ inputs.version }} --dry-run --Werror **/*(.cpp|.h|.m|.mm)
|
||||
|
12
.github/workflows/valiadate-apple.yml
vendored
12
.github/workflows/valiadate-apple.yml
vendored
@@ -29,3 +29,15 @@ jobs:
|
||||
- name: pod install
|
||||
working-directory: ./YogaKit/YogaKitSample
|
||||
run: pod install
|
||||
|
||||
clang-format:
|
||||
name: Clang Format
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: clang-format
|
||||
uses: ./.github/actions/clang-format
|
||||
with:
|
||||
directory: ./YogaKit
|
||||
|
Reference in New Issue
Block a user