Skip to content

Commit

Permalink
add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lico-n committed Mar 14, 2024
1 parent 6235122 commit 056a456
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 056a456

Please sign in to comment.