mirror of
https://github.com/microsoft/markitdown.git
synced 2025-06-26 22:00:21 +00:00
21 lines
438 B
YAML
21 lines
438 B
YAML
name: pre-commit
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install pre-commit
|
|
run: |
|
|
pip install pre-commit
|
|
pre-commit install --install-hooks
|
|
|
|
- name: Run pre-commit
|
|
run: pre-commit run --all-files
|