From f16f19f257c07aad2c184110092c21afc1313db5 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Sun, 18 Feb 2024 11:08:42 +0100 Subject: [PATCH] cache-path --- .github/workflows/pull-request.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 89f6059..efbab4a 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -16,7 +16,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.10" - cache: "pip" - name: Install dependencies run: | python -m pip install --upgrade pip --no-cache-dir @@ -34,6 +33,7 @@ jobs: with: python-version: "3.10" cache: "pip" + cache-dependency-path: pyproject.toml - name: Install dependencies and run linter run: | python -m pip install --upgrade pip @@ -59,6 +59,7 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: "pip" + cache-dependency-path: pyproject.toml - name: Install dependencies and run tests run: | python -m pip install --upgrade pip --no-cache-dir @@ -75,6 +76,7 @@ jobs: with: python-version: "3.10" cache: "pip" + cache-dependency-path: pyproject.toml - name: Install dependencies and check docs can build run: | python -m pip install --upgrade pip --no-cache-dir