ref: 7471f46a0768e1b5a646d48d5c2cefb8dbc3f7af
parent: 8cee3c3c3e14215c7fe3f58bf3253c74d2396739
author: ISSOtm <eldredhabert0@gmail.com>
date: Mon Feb 10 19:50:04 EST 2020
Add checkpatch testing
--- /dev/null
+++ b/.github/workflows/checkpatch.yml
@@ -1,0 +1,17 @@
+name: "Code style checking"
+on: pull_request
+
+jobs:
+ checkpatch:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up checkpatch
+ run: |
+ wget 'https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl'
+ chmod +x checkpatch.pl
+ touch const_structs.checkpatch
+ touch spelling.txt
+ - name: Checkpatch
+ run: |
+ make checkpatch CHECKPATCH=./checkpatch.pl