Skip to content

Fix not test

Fix not test #145

Workflow file for this run

name: Linting
on:
push:
branches: [main]
paths: ['**.cpp', '**.hpp']
pull_request:
branches: [main]
paths: ['**.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