diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index d91c58fd..f3d723f9 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -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 . diff --git a/.github/workflows/test_mac.yml b/.github/workflows/test_mac.yml index 5d24b3c9..d191ba4b 100644 --- a/.github/workflows/test_mac.yml +++ b/.github/workflows/test_mac.yml @@ -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: