diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/tests.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6cccb5f7..fb81a3ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,3 +61,19 @@ jobs: - uses: actions/checkout@v3 - name: REUSE Compliance Check uses: fsfe/reuse-action@v1 + cpp-linter: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cpp-linter/cpp-linter-action@v2 + id: linter + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + style: file + version: 15 + files-changed-only: false + thread-comments: true + - name: C++ Linter + if: steps.linter.outputs.checks-failed > 0 + run: echo "Some files failed the linting checks!" |
