mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Add checkpatch testing
This commit is contained in:
1 parent
8cee3c3c3e
commit
7471f46a07
1 file changed
+17
@@ -0,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
|
||||
Reference in new issue
Block a user