mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
14 lines
478 B
YAML
14 lines
478 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= # print out all cpplint rules
|
|
- run: cpplint --recursive . || true # all issues to be fixed
|
|
# TODO: Remove each filter one at a time and fix those failures
|
|
- run: cpplint --filter=-build,-legal,-readability,-runtime,-whitespace --recursive .
|