mirror of
https://github.com/microsoft/markitdown.git
synced 2025-11-29 16:36:45 +00:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afourney <adamfo@microsoft.com>
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@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
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
|