Fix mac workflow and update linting job
This commit is contained in:
@@ -14,24 +14,29 @@ jobs:
|
|||||||
checkSyntax:
|
checkSyntax:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Python Setup
|
|
||||||
uses: actions/setup-python@v6
|
|
||||||
with:
|
|
||||||
python-version: 3
|
|
||||||
architecture: x64
|
|
||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v5
|
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
|
- name: Ruff Check
|
||||||
run: |
|
run: |
|
||||||
ruff --version
|
uv run --no-sync ruff --version
|
||||||
ruff check
|
uv run --no-sync ruff check
|
||||||
|
|
||||||
- name: Pyright Check
|
- name: Pyright Check
|
||||||
run: |
|
run: |
|
||||||
pyright --version
|
uv run --no-sync pyright --version
|
||||||
pyright
|
uv run --no-sync pyright
|
||||||
|
|
||||||
- name: Isort Check
|
- name: Isort Check
|
||||||
run: |
|
run: |
|
||||||
isort --version
|
uv run --no-sync isort --version
|
||||||
isort --check .
|
uv run --no-sync isort --check .
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ jobs:
|
|||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Install System Packages
|
||||||
|
run: |
|
||||||
|
brew install enchant
|
||||||
|
|
||||||
- name: Install UV and Python
|
- name: Install UV and Python
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user