Files
rgbds/.github/workflows/checkpatch.yml
2020-02-17 15:04:14 +01:00

18 lines
476 B
YAML

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