shithub: rgbds

ref: 8e92383fa35e1955d891d1e6de9c70a8cc82ff25
dir: /.github/workflows/checkpatch.yml/

View raw version
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 BASE_REF=${{ github.base_ref }} Q=