From 8abb4aa1f917d56427babf45c3e2a5ab1a0a89b6 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 26 Nov 2019 18:59:21 +0100 Subject: [PATCH] GitHub Action to run cpplint on all pull requests --- .github/workflows/ccpp.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/ccpp.yml diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 000000000..c71d39918 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,10 @@ +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 --recursive .