From 83657c0c576cb3581f71c52d56535fd0c6508089 Mon Sep 17 00:00:00 2001 From: Daverball Date: Fri, 13 Dec 2024 11:23:26 +0100 Subject: [PATCH] Use full python version in cache-key --- .github/workflows/testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 917ab4c..12224bc 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -42,6 +42,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + id: setup-python with: python-version: "${{ matrix.python-version }}" - uses: actions/cache@v4 @@ -50,7 +51,7 @@ jobs: path: | ~/.local .venv - key: ${{ hashFiles('**/poetry.lock') }}-${{ matrix.python-version }}-9 + key: ${{ hashFiles('**/poetry.lock') }}-${{ steps.setup-python.outputs.python-version }}-9 - name: Install Poetry uses: snok/install-poetry@v1 with: