Skip to content

CI: add workflow_dispatch trigger #22

CI: add workflow_dispatch trigger

CI: add workflow_dispatch trigger #22

Workflow file for this run

name: "Code Quality Checks"
on:
push:
pull_request:
jobs:
check-code-quality:
name: "Code Quality Checks"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install yapf
run: |
pip install yapf==0.32.0
- name: Yapf code formatting checks
run: |
yapf -ipr protoplaster/
test $(git status --porcelain | wc -l) -eq 0 || { git diff; false; }