make checkdiff does CI documentation checks (#900)

Fixes #744
This commit is contained in:
Rangi
2021-06-24 17:49:08 -04:00
committed by GitHub
parent 9868a01163
commit 6d2db2ef64
4 changed files with 104 additions and 3 deletions

17
.github/workflows/checkdiff.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: "Code coverage checking"
on: pull_request
jobs:
checkdiff:
runs-on: ubuntu-latest
steps:
- name: Set up repo
run: |
git clone -b "${{ github.event.pull_request.head.ref }}" "${{ github.event.pull_request.head.repo.clone_url }}" rgbds
cd rgbds
git remote add upstream "${{ github.event.pull_request.base.repo.clone_url }}"
git fetch upstream
- name: Checkdiff
working-directory: rgbds
run: |
make checkdiff "BASE_REF=${{ github.event.pull_request.base.sha }}" Q= | tee log