Skip to content

GHA: release management for the firebase C++ SDK #1

GHA: release management for the firebase C++ SDK

GHA: release management for the firebase C++ SDK #1

Workflow file for this run

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