Skip to content

fix: Fix GitHub Actions #5

fix: Fix GitHub Actions

fix: Fix GitHub Actions #5

Workflow file for this run

name: Validate C++
on:
push:
branches:
- main
paths:
- '.github/workflows/validate-cpp.yml'
- 'cpp/**'
- 'android/src/main/cpp/**'
- 'ios/**'
pull_request:
paths:
- '.github/workflows/validate-cpp.yml'
- 'cpp/**'
- 'android/src/main/cpp/**'
- 'ios/**'
jobs:
lint:
name: Check clang-format
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'cpp'
- 'android/src/main/cpp'
- 'android/src/main/cpp/lib'
- 'ios'
- '!ios/TensorFlowLiteC.framework'
- '!ios/TensorFlowLiteCCoreML.framework'
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: ${{ matrix.path }}