Skip to content

Add code gdformat.

Add code gdformat. #6

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
jobs:
pre-commit-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
- name: Check for modifications
run: |
git diff --quiet || (echo "Changes detected after pre-commit run!" && exit 1)