Skip to content

Commit

Permalink
More github actins
Browse files Browse the repository at this point in the history
  • Loading branch information
freider committed Oct 22, 2024
1 parent 6a6a1cb commit d0212d5
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Install Python (3.11)
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --no-root

- name: Install the project
run: uv sync --all-extras --dev --no-install-project

- name: Ruff check
run: poetry run ruff check --diff
run: uv run ruff check --diff

- name: Ruff format
run: poetry run ruff format --diff
run: uv run ruff format --diff

- name: Mypy
run: poetry run mypy .
run: uv run mypy .

0 comments on commit d0212d5

Please sign in to comment.