Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/lint_and_format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ jobs:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
run: uv sync --locked --extra check
- name: Run Ruff (lint)
run: ruff check --output-format=github .
run: uv run ruff check --output-format=github .
- name: Run Ruff (format)
run: |
ruff format .
run: uv run ruff format .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/mypy_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
with:
python-version: 3.11

- name: Set up uv
uses: astral-sh/setup-uv@v5

- name: Install
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[check]
run: uv sync --locked --extra check

- name: Mypy Check
run: mypy .
run: uv run mypy .
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading