Skip to content

add precommit and fix postgres job #2

add precommit and fix postgres job

add precommit and fix postgres job #2

Workflow file for this run

name: Pre-Commit Checks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit hooks
run: git diff --name-only HEAD^ | grep '\.yaml\|\.md' | xargs pre-commit run --files