Skip to content

Evaluator

Evaluator #121

Workflow file for this run

name: Linting
on:
pull_request:
branches: [main]
paths-ignore: ['**.cpp', '**.hpp']
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Linter
uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: 'file'
ignore: 'tests | lib'
tidy-checks: '-*'
thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}
lines-changed-only: true
no-lgtm: false
- name: Fail Fast
if: steps.linter.outputs.checks-failed > 0
run: exit 1