We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d320d7d commit 5b5ae49Copy full SHA for 5b5ae49
.github/workflows/checks.yml
@@ -19,13 +19,18 @@ jobs:
19
uses: actions/setup-python@v2
20
with:
21
python-version: ${{ matrix.python }}
22
+
23
+ - name: Get Python Version
24
+ id: get_python_version
25
+ run: echo "::set-output name=python_version::$(python --version)"
26
27
- name: Cache dependencies
28
uses: actions/cache@v2
29
30
path: .venv
- key: ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
31
+ key: ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies-${{ hashFiles('**/poetry.lock') }}
32
restore-keys: |
- ${{ runner.os }}-${{ matrix.python }}-dependencies
33
+ ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies
34
- name: Install Poetry
35
run: pip install poetry
36
0 commit comments