From 056a456aaf2824020d15c453469f7b9e3527864b Mon Sep 17 00:00:00 2001 From: lico-n <85761230+lico-n@users.noreply.github.com> Date: Thu, 14 Mar 2024 20:45:30 +0100 Subject: [PATCH] add lint workflow --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..c87e2fc --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: lint +on: + - push + - pull_request + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip3 install cpplint + - run: ls + - name: Run cpplint + run: | + cpplint \ + --exclude module/src/jni/include/rapidjson \ + --exclude module/src/jni/xdl \ + --exclude module/src/jni/zygisk.h \ + --recursive .