Skip to content

add lint workflow

add lint workflow #2

Workflow file for this run

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
- name: Run cpplint
run: |
cpplint \
--exclude module/src/jni/include/rapidjson \
--exclude module/src/jni/xdl \
--exclude module/src/jni/zygisk.h \
--recursive .