Add history to sync workflow #33
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: Lint | |
on: push | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
env: | |
RUFF_OUTPUT_FORMAT: github | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Install uv | |
run: pipx install uv | |
- name: Install ruff | |
run: | | |
uv pip install --system --constraint requirements.txt ruff | |
- name: Ruff Formatter | |
run: ruff format --diff . | |
- name: Ruff Linter | |
run: ruff check . | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Install uv | |
run: pipx install uv | |
- name: Install dependencies | |
run: | | |
uv pip install --system --requirement requirements.txt | |
- name: mypy | |
run: mypy . |