aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/debug.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
new file mode 100644
index 0000000..29ca5b2
--- /dev/null
+++ b/.github/workflows/debug.yml
@@ -0,0 +1,17 @@
+on: pull_request
+
+name: Check Code Style (checkpatch)
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Install required packages (pip3)
+ run: |
+ pip3 install pylint
+ - name: Run pylint
+ run: make -C debug pylint