mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-02 02:02:23 +08:00
Update and rename ccpp.yml to cpplint.yml
This commit is contained in:
13
.github/workflows/cpplint.yml
vendored
Normal file
13
.github/workflows/cpplint.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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 .
|
||||
Reference in New Issue
Block a user