diff --git a/.github/workflows/cpplint.yml b/.github/workflows/cpplint.yml new file mode 100644 index 0000000..5395b87 --- /dev/null +++ b/.github/workflows/cpplint.yml @@ -0,0 +1,15 @@ +# GitHub Action to run cpplint recursively on all pushes and pull requests +# https://github.com/cpplint/GitHub-Action-for-cpplint + +name: cpplint +on: [push, pull_request] +jobs: + cpplint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install cpplint + - run: cpplint --recursive . \ No newline at end of file