Skip to content

add precommit and fix postgres job #3

add precommit and fix postgres job

add precommit and fix postgres job #3

Workflow file for this run

name: Pre-Commit Checks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- 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