Skip to content

Commit 2e1b70e

Browse files
Bump python version and freeze cpplint (#6587)
## Summary This PR bumps the python version in validation CI, so the `:=` operator used by `cpplint 2.0.0` is properly supported. Also we temporarily freeze the `cpplint` version to 1.6.1 due to cpplint/cpplint#293 ## Test plan
1 parent 1f5d866 commit 2e1b70e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/reanimated-android-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
python-version: [3.7]
33+
python-version: [3.13]
3434
concurrency:
3535
group: validate-java-${{ github.ref }}
3636
cancel-in-progress: true
@@ -54,7 +54,7 @@ jobs:
5454
- name: Install python dependencies
5555
run: |
5656
python -m pip install --upgrade pip
57-
pip install cpplint
57+
pip install cpplint==1.6.1
5858
- name: Clear annotations
5959
run: .github/workflows/helper/clear-annotations.sh
6060

.github/workflows/reanimated-common-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
python-version: [3.7]
30+
python-version: [3.13]
3131

3232
steps:
3333
- uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install python dependencies
4040
run: |
4141
python -m pip install --upgrade pip
42-
pip install cpplint
42+
pip install cpplint==1.6.1
4343
- name: Install monorepo node dependencies
4444
run: yarn install --immutable
4545

0 commit comments

Comments
 (0)