Fix mac workflow and update linting job

This commit is contained in:
Veronica Berglyd Olsen
2025-10-18 23:23:46 +02:00
parent 359d5f36b5
commit e21d944461
2 changed files with 22 additions and 13 deletions
+18 -13
View File
@@ -14,24 +14,29 @@ jobs:
checkSyntax:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v6
with:
python-version: 3
architecture: x64
- name: Checkout Source
uses: actions/checkout@v5
- name: Install Dependencies
run: pip install -r requirements.txt -r requirements-dev.txt
- name: Install UV and Python
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync UV
run: |
uv sync --no-dev --group lint
- name: Ruff Check
run: |
ruff --version
ruff check
uv run --no-sync ruff --version
uv run --no-sync ruff check
- name: Pyright Check
run: |
pyright --version
pyright
uv run --no-sync pyright --version
uv run --no-sync pyright
- name: Isort Check
run: |
isort --version
isort --check .
uv run --no-sync isort --version
uv run --no-sync isort --check .
+4
View File
@@ -17,6 +17,10 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v5
- name: Install System Packages
run: |
brew install enchant
- name: Install UV and Python
uses: astral-sh/setup-uv@v6
with: