mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 22:07:15 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
25 lines
578 B
YAML
25 lines
578 B
YAML
name: crdt-sync pre-commit
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['crdt-sync/**']
|
|
pull_request:
|
|
branches: [main]
|
|
paths: ['crdt-sync/**']
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.x"
|
|
- name: Install dependencies
|
|
working-directory: crdt-sync
|
|
run: pip install -r requirements.txt
|
|
- uses: pre-commit/action@v3.0.1
|
|
with:
|
|
extra_args: --config crdt-sync/.pre-commit-config.yaml --all-files
|