This commit is contained in:
Nick Gerleman
2022-10-14 08:21:52 -07:00
parent a23699d739
commit e4a306b4d7
2 changed files with 4 additions and 2 deletions

View File

@@ -13,9 +13,9 @@ runs:
steps: steps:
- name: Install - name: Install
shell: bash shell: bash
run: sudo apt install clang-format-${{ inputs.version }} run: sudo apt-get install clang-format-${{ inputs.version }}
- name: clang-format - name: clang-format
working-directory: ${{ inputs.directory }} working-directory: ${{ inputs.directory }}
shell: bash shell: bash
run: clang-format-${{ inputs.version }} --dry-run --Werror **/*.h **/*.cpp # Yoga's config doesn't support ObjC run: clang-format-${{ inputs.version }} --dry-run --Werror yoga.cpp # Yoga's config doesn't support ObjC

View File

@@ -21,6 +21,8 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3
- name: Setup - name: Setup
uses: ./.github/actions/setup-apple uses: ./.github/actions/setup-apple