chore: move to monorepo with bun #500
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check CLang | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/check-clang.yml' | |
- './packages/react-native-video/ios/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/check-clang.yml' | |
- './packages/react-native-video/ios/**' | |
jobs: | |
CLang-Format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install clang-format | |
run: sudo apt-get install clang-format | |
- name: Check ios clang formatting | |
run: | | |
find ./packages/react-native-video/ios -type f \( -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.mm" \) -print0 | while read -d $'\0' file; do | |
clang-format -style=file:./packages/react-native-video/ios/.clang-format -i "$file" | |
done | |
shell: bash | |
- name: Check for changes | |
run: git diff --exit-code HEAD |