Skip to content

Commit 344713b

Browse files
authored
Update README.md
1 parent 10e1bb8 commit 344713b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
Example workflow:
66
* Put the following text into a file named `.github/workflows/cpplint.yml` in your repo):
@@ -11,10 +11,8 @@ jobs:
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
```
1917
Customize the final line to match your requirements.
2018
```

0 commit comments

Comments
 (0)