Skip to content

Lint

Lint #3145

Workflow file for this run

name: "Lint"
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
- "stable-*.*"
schedule:
# Every day at 3:10 AM UTC
- cron: '10 3 * * *'
jobs:
lint:
name: ${{ matrix.linter }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
linter:
- gaplint
- cpplint
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
- name: "Install ${{ matrix.linter }} with pip . . ."
run: sudo pip install ${{ matrix.linter }}
- name: "Run ${{ matrix.linter }} . . ."
run: etc/${{ matrix.linter }}.sh
shell: bash