This repository has been archived by the owner on Jan 18, 2025. It is now read-only.
chore(config): add VS Code settings to override Python run button #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: 'uv.lock' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version-file: '.python-version' | |
- name: Install deps | |
run: uv sync --all-extras | |
- name: Pre-commit check | |
env: | |
SKIP: generate-config-schemas | |
run: uv run pre-commit run -a |