TheAlgorithms-C-Plus-Plus/.github/workflows/ccpp.yml
Christian Clauss 4f65b23c36
No backslash
2019-11-27 00:34:26 +01:00

18 lines
803 B
YAML

name: cpplint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- run: pip install cpplint
- run: |
cpplint --filter=-build/include_order,-build/namespaces,-legal/copyright,
-readability/casting,-readability/todo,-runtime/arrays,-runtime/explicit,
-runtime/int,-runtime/references,-runtime/threadsafe_fn,-whitespace --recursive .
# whitespace/blank_line,-whitespace/braces,-whitespace/comma,-whitespace/comments
# whitespace/empty_loop_body,-whitespace/end_of_line,-whitespace/ending_newline
# whitespace/forcolon,-whitespace/indent,-whitespace/line_length,-whitespace/newline
# whitespace/operators,-whitespace/parens,-whitespace/semicolon,-whitespace/tab --recursive .