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 7607b3c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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 .

0 comments on commit 7607b3c

Please sign in to comment.