Skip to content

Commit 15a61b7

Browse files
authored
Merge pull request Wenzel#17 from Harvester57/Action-improvement
Explicit versions in action.yml and fix a typo in the cache key
2 parents 850a47f + 0baa6bd commit 15a61b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/common-setup/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ inputs:
55
python_version:
66
description: "Python version to setup"
77
required: true
8-
default: "3.10"
8+
default: "3.13"
99
runs:
1010
using: "composite"
1111
steps:
1212
- name: Set up Python 🐍
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5.6.0
1414
with:
1515
python-version: ${{ inputs.python_version }}
1616

@@ -36,10 +36,10 @@ runs:
3636
# them in the cache key. I'm not, so it can be simple and just depend on the poetry.lock.
3737
- name: cache deps
3838
id: cache-deps
39-
uses: actions/cache@v4
39+
uses: actions/cache@v4.2.3
4040
with:
4141
path: ~/.cache/pypoetry
42-
key: pydeps-${{ inputs.python_version }}-$ {{ env.shellos }}-${{ hashFiles('**/poetry.lock') }}
42+
key: pydeps-${{ inputs.python_version }}-${{ env.shellos }}-${{ hashFiles('**/poetry.lock') }}
4343

4444
# Install dependencies. `--no-root` means "install all dependencies but not the project
4545
# itself", which is what you want to avoid caching _your_ code. The `if` statement

0 commit comments

Comments
 (0)