chore: move to monorepo with bun #506
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 iOS | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/check-ios.yml' | |
- './packages/react-native-video/ios/**' | |
pull_request: | |
paths: | |
- '.github/workflows/check-ios.yml' | |
- './packages/react-native-video/ios/**' | |
jobs: | |
Swift-Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint with SwiftLint | |
uses: norio-nomura/action-swiftlint@master | |
with: | |
args: --strict | |
env: | |
WORKING_DIRECTORY: ./packages/react-native-video/ios | |
Swift-Format: | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: ./packages/react-native-video/ios | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install SwiftFormat | |
run: brew install swiftformat | |
- name: Format Swift code | |
run: swiftformat --verbose . | |
- name: Verify formatted code is unchanged | |
run: git diff --exit-code HEAD |