diff --git a/.github/workflows/precommit_and_docs_build_check.yml b/.github/workflows/precommit_and_docs_build_check.yml index 92ba8bb8..2bc80bcc 100644 --- a/.github/workflows/precommit_and_docs_build_check.yml +++ b/.github/workflows/precommit_and_docs_build_check.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: "3.11" cache: pip - name: create venv and install dependencies @@ -29,7 +29,7 @@ jobs: . /tmp/kazu-env/bin/activate python -m pip install --upgrade pip pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu "torch>=2.0.0" - pip install -e ."[dev]" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager + pip install -e ."[dev]" - name: Check precommit run: | @@ -39,7 +39,7 @@ jobs: - name: Check docs build successfully # still run even if the pre-commit fails, so we # have the output on if the docs build succeeded or not - if: '!cancelled()' + if: "!cancelled()" run: | . /tmp/kazu-env/bin/activate make -C docs html