ci: add pre-commit

Signed-off-by: Filipe Laíns <lains@archlinux.org>
This commit is contained in:
Filipe Laíns 2020-07-02 16:27:15 +01:00 committed by Filipe Laíns
parent e751f741f7
commit bbaa144397
1 changed files with 16 additions and 0 deletions

16
.github/workflows/checks.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: checks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Run pre-commit
uses: pre-commit/action@v2.0.0