ci: GHA basic format & pre-commit (#2309)

This commit is contained in:
Henry Schreiner
2020-07-20 13:35:21 -04:00
committed by GitHub
parent e248869893
commit d8c7ee00a6
60 changed files with 121 additions and 28 deletions

19
.github/workflows/format.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Format
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- stable
- "v*"
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0