Skip to content

Commit

Permalink
add lint workflow (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
lico-n authored Mar 14, 2024
1 parent 6235122 commit 8159796
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

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
--linelength=120
--filter=-build/c++11,-build/header_guard,-legal/copyright,-build/include_subdir
--exclude module/src/jni/include/rapidjson
--exclude module/src/jni/xdl
--exclude module/src/jni/zygisk.h
--recursive .

0 comments on commit 8159796

Please sign in to comment.