v0.10: CI testing of patch queue #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Kernel Coding Style Check | |
on: [pull_request, push] | |
jobs: | |
check-style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install -y linux-headers-$(uname -r) | |
- name: Run checkpatch.pl | |
run: | | |
wget https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/checkpatch.pl -O checkpatch.pl | |
git format-patch --stdout origin/master | perl checkpatch.pl --strict -- |