Skip to content

Merge branch 'eval-list' into arth_eval #66

Merge branch 'eval-list' into arth_eval

Merge branch 'eval-list' into arth_eval #66

Workflow file for this run

name: Linting

Check failure on line 1 in .github/workflows/linting.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linting.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
pull_request:
branches: [main]
paths: ['**.cpp', '**.hpp']
paths-ignore: ['lib/**', 'tests/**']
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'
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