diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml new file mode 100644 index 00000000..f40531b8 --- /dev/null +++ b/.github/workflows/cpp-linter.yml @@ -0,0 +1,23 @@ +name: cpp-linter + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + cpp-linter: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Run static analysis + # uses: JacobDomagala/StaticAnalysis@master + uses: lejcik/StaticAnalysis@master + with: + exclude_dir: docs + apt_pckgs: pkg-config libsystemd-dev + verbose: true