File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 # version or the default packages change. Both of the remaining
3838 # cache keys depend on PY.
3939 shell : bash
40- run :
41- echo "PY=$((python -VV; pip freeze) | shasum -a 256 | cut -d' ' -f1)" >>
42- $GITHUB_ENV
40+ run : |
41+ echo "PY=$( (python -VV; pip freeze) | shasum -a 256 | cut -d' ' -f1)" >> $GITHUB_ENV
42+ echo "UV_CACHE_DIR=${{ runner.temp }}/.cache/uv" >> $GITHUB_ENV
4343 - name : Cache pre-commit installation
4444 # The cache key for the pre-commit installation is a hash of the
4545 # operating system, PY (see above), and the pre-commit config.
6262 with :
6363 path : |
6464 .cache
65- .cache/uv
65+ ${{ runner.temp }}/ .cache/uv
6666 .venv
6767 key :
6868 cache|${{ runner.os }}|${{ runner.arch }}|${{ env.PY }}|${{ hashFiles('pyproject.toml') }}|${{
Original file line number Diff line number Diff line change 2424 PYTEST_ADDOPTS : ${{ github.event.inputs.pytest_addopts }}
2525 PYTHONIOENCODING : " UTF-8"
2626 TARGET_PYTHON_VERSION : " 3.10"
27- UV_CACHE_DIR : ${{ github.workspace }}/.cache/uv
27+ UV_CACHE_DIR : ${{ github.workspace }}/.cache/uv # overridden per-job by setup-env action via $GITHUB_ENV
2828
2929jobs :
3030 quality-test :
You can’t perform that action at this time.
0 commit comments