Fix mac workflow and update linting job
This commit is contained in:
@@ -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 .
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user