File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11# GitHub Action for running cpplint commands
22
3- Each time that new code is pushed into your repo, you can have a [ cpplint] ( https://github.com/cpplint/cpplint ) command automatically run.
3+ Each time new code is pushed into your repo, you can have a [ cpplint] ( https://github.com/cpplint/cpplint ) command automatically run.
44
55Example workflow:
66* Put the following text into a file named ` .github/workflows/cpplint.yml ` in your repo):
1111 cpplint :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v1
15- - uses : actions/setup-python@v1
16- - run : pip install cpplint
17- - run : cpplint --recursive .
14+ - uses : actions/checkout@v4
15+ - run : pipx run cpplint --recursive .
1816` ` `
1917Customize the final line to match your requirements.
2018` ` `
You can’t perform that action at this time.
0 commit comments