Skip to content

Commit

Permalink
[#299] Initial cpp-linter file
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Sep 16, 2024
1 parent f0ee201 commit 231775e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: cpp-linter

on:
push:
branches: [ main, dev, 299-setup-code-formatter ]
pull_request:
branches: [ main, dev ]


jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cpp-linter/cpp-linter-action@main
id: linter
continue-on-error: true
with:
style: file
files-changed-only: false
thread-comments: false

- name: Fail fast?!
if: steps.linter.outputs.checks-failed != 0
run: exit 1

0 comments on commit 231775e

Please sign in to comment.