We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d8775e commit d6af660Copy full SHA for d6af660
.github/workflows/checkpatch.yml
@@ -0,0 +1,18 @@
1
+name: Kernel Coding Style Check
2
+
3
+on: [pull_request, push]
4
5
+jobs:
6
+ check-style:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout repository
10
+ uses: actions/checkout@v4
11
+ with:
12
+ fetch-depth: 0
13
14
+ - name: Download checkpatch.pl
15
+ run: wget https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/checkpatch.pl
16
17
+ - name: Run checkpatch.pl
18
+ run: perl checkpatch.pl --strict --no-tree <(git format-patch --stdout origin/master)
0 commit comments