diff options
| author | Melvin Keskin <melvo@olomono.de> | 2022-10-03 18:13:59 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-02-17 17:33:39 +0100 |
| commit | aa0fed09a7b1e43469ee0f5052f292eda3b0841a (patch) | |
| tree | 4482314459e4ccbd6aa07949a174cb2c7dacaa6e | |
| parent | 0609fd7498dd812d9f511dc2e2e6ea7c002175b3 (diff) | |
.github: workflows: Add C++ linter
| -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!" |
