Files
WiFiManager/.github/workflows/cpp_lint.yml
T
Dmitriy Shafranskiy 2d2b9f82f3 CI / DC Update - Library Build, Linting, Examples Json Fix (#1264)
* Create main.yml

added onPush & onPull

* Update examples_esp8266.yml

added on push & on pull

* Delete main.yml

* Create examples_esp32.yaml

* CI/DC update

* CI/DC update

* CI/DC update

* hardcoded json lib version

* hardcoded json lib version

* hardcoded json lib version
2021-09-17 09:02:53 -05:00

31 lines
762 B
YAML

name: cpplint
on:
push:
paths-ignore:
- '.github/workflows/compile_*.yml'
pull_request:
paths-ignore:
- '.github/workflows/compile_*.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cpplint
uses: reviewdog/action-cpplint@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-check
flags: --linelength=100
target: .
filter: "-whitespace/tab\
,-readability/braces\
,-whitespace/braces\
,-whitespace/comments\
,-whitespace/indent\
,-whitespace/newline\
,-whitespace/operators\
,-whitespace/parens\
"