diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4e377c55d..543aa6245 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -4,20 +4,20 @@ on: [push, workflow_call] jobs: spellcheck: - runs-on: "windows-latest" + runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: astral-sh/setup-uv@v6 with: python-version: "3.12" - name: install requirements - run: pip install -e .[dev] + run: uv sync --extra dev - name: run pytest - run: python -m pytest + run: uv run pytest - name: run spellcheck - run: sphinx-build -E -a -W --keep-going -b spelling doc _build + run: uv run sphinx-build -E -a -W --keep-going -b spelling doc _build build: uses: ISISComputingGroup/reusable-workflows/.github/workflows/sphinx.yml@main secrets: inherit