Implement styleTransition #92
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: Reanimated Common validation | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/reanimated-common-validation.yml' | |
- 'packages/react-native-reanimated/scripts/cpplint.sh' | |
- 'packages/react-native-reanimated/Common/cpp/**' | |
pull_request: | |
paths: | |
- '.github/workflows/reanimated-common-validation.yml' | |
- 'packages/react-native-reanimated/scripts/cpplint.sh' | |
- 'packages/react-native-reanimated/Common/cpp/**' | |
merge_group: | |
branches: | |
- main | |
jobs: | |
lint: | |
if: github.repository == 'software-mansion/react-native-reanimated' | |
name: cpplint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cpplint | |
- name: Install monorepo node dependencies | |
run: yarn install --immutable | |
- name: Lint Common | |
working-directory: packages/react-native-reanimated | |
run: yarn lint:common | |
- name: Disallow DEBUG macros | |
run: | | |
! egrep -r '(#if DEBUG|#ifdef DEBUG)' packages/react-native-reanimated/Common/cpp/ packages/react-native-reanimated/apple/native/ packages/react-native-reanimated/android/src/main/cpp/ |