From 469cc02fdbc0b944a096a0a533f896a4d8692489 Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Fri, 3 Apr 2020 16:05:23 +0200 Subject: [PATCH] Add GitHub workflow to check for correctly set include guards --- .github/workflows/include-guards.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/include-guards.yml diff --git a/.github/workflows/include-guards.yml b/.github/workflows/include-guards.yml new file mode 100644 index 0000000..26dfd90 --- /dev/null +++ b/.github/workflows/include-guards.yml @@ -0,0 +1,16 @@ +name: check-include-guards + +on: [push, pull_request] + +jobs: + include-guards: + name: Check include guards + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Check include guards + uses: sbeyer/include-guards-check-action@v1.0.0 + with: + only: '^bandit/' + ignore: '/external/'