Update iOS dependencies - Wed Dec 13 2023 #4266
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: Lint | |
on: | |
pull_request: | |
types: [opened,synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint_warnings_check_and_comment: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: cpplint/cpplint | |
ref: "1.5.5" | |
path: cpplint | |
- uses: actions/checkout@v3 | |
with: | |
submodules: false | |
path: firebase | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install prerequisites | |
run: | | |
cd firebase | |
python scripts/gha/install_prereqs_desktop.py | |
- name: Install prerequisites | |
run: | | |
python3 -m pip install unidiff | |
- name: Run cpplint | |
shell: bash | |
run: | | |
set -e | |
cd firebase | |
python3 scripts/gha/lint_commenter.py -l ../cpplint/cpplint.py -p ${{ github.event.pull_request.number }} -t ${{ github.token }} -A |