- Add pre-commit hooks - Add github action to enforce pre-commit setup For any hooks required for a 'sub project', for instance the UI. It will be possible to create custom hooks, and call some package scripts in the package.json file. Fixes #1208
15 lines
229 B
YAML
15 lines
229 B
YAML
name: lint
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
- uses: pre-commit/action@v2
|