We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e1bb8 commit 344713bCopy full SHA for 344713b
README.md
@@ -1,6 +1,6 @@
1
# GitHub Action for running cpplint commands
2
3
-Each time that new code is pushed into your repo, you can have a [cpplint](https://github.com/cpplint/cpplint) command automatically run.
+Each time new code is pushed into your repo, you can have a [cpplint](https://github.com/cpplint/cpplint) command automatically run.
4
5
Example workflow:
6
* Put the following text into a file named `.github/workflows/cpplint.yml` in your repo):
@@ -11,10 +11,8 @@ jobs:
11
cpplint:
12
runs-on: ubuntu-latest
13
steps:
14
- - uses: actions/checkout@v1
15
- - uses: actions/setup-python@v1
16
- - run: pip install cpplint
17
- - run: cpplint --recursive .
+ - uses: actions/checkout@v4
+ - run: pipx run cpplint --recursive .
18
```
19
Customize the final line to match your requirements.
20
0 commit comments