File tree Expand file tree Collapse file tree
.github/actions/setup-python Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : " Python version (e.g. '3.7', '3.8.13', '3.11.0-alpha.1', '3.x')."
88 required : true
99 requirements :
10- description : " Optional list of arguments passed to `uv pip install` (e.g. 'numpy==1.19.5', '-r requirements.txt ')."
10+ description : " Optional list of arguments passed to `uv pip install` (e.g. 'tox', ' numpy==1.19.5')."
1111 required : false
1212
1313runs :
1717 # create and activate a virtual environment that is used by all
1818 # subsequent steps (e.g. the `uv pip install` step below installs
1919 # into it). Also enables uv's built-in cache. The cache key takes
20- # the platform, the uv version, and a hash of the files below
20+ # the platform, the uv version, and a hash of pyproject.toml
2121 # into account.
2222 # See https://docs.astral.sh/uv/guides/integration/github/ for details.
2323 # NOTE: setup-uv publishes immutable releases only (no
2929 activate-environment : true
3030 enable-cache : true
3131 cache-suffix : " py${{ inputs.python-version }}"
32- cache-dependency-glob : |
33- pyproject.toml
34- requirements/*.txt
32+ cache-dependency-glob : pyproject.toml
3533
3634 - name : Install requirements
3735 if : ${{ inputs.requirements != '' }}
You can’t perform that action at this time.
0 commit comments