mirror of https://github.com/leafspark/AutoGGUF
18 lines
368 B
Plaintext
18 lines
368 B
Plaintext
name: pre-commit
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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
|