TheAlgorithms-C-Plus-Plus/.github/workflows/ccpp.yml
Christian Clauss 88c7121c84
--filter
2019-11-27 00:29:00 +01:00

18 lines
805 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 .