diff --git a/.github/workflows/cpplint.yml b/.github/workflows/cpplint.yml new file mode 100644 index 00000000..1addc374 --- /dev/null +++ b/.github/workflows/cpplint.yml @@ -0,0 +1,21 @@ +name: Reviewdog +on: [pull_request] + +jobs: + cpplint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: reviewdog/action-cpplint@master + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + flags: --linelength=120 # Optional + # filter: "-readability/braces\ + # ,-whitespace/braces\ + # ,-whitespace/comments\ + # ,-whitespace/indent\ + # ,-whitespace/newline\ + # ,-whitespace/operators\ + # ,-whitespace/parens\ + # " # Optional