name: cpplint on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip pip install cpplint - name: Linting run: | cpplint --repository=. --recursive --filter=-whitespace/line_length,-build/include ./src