From adc59cad33ab779b95cb674be3bd5f80efeb4767 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 22 Sep 2023 19:47:48 +0200 Subject: [PATCH] Test caching of deps in CI --- .github/workflows/build.yml | 3 +++ .github/workflows/documentation.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d7da3032..d79361370 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,6 +102,9 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} cache: pip + cache-dependency-path: | + pyproject.toml + requirements.txt - name: Set up Python dependencies run: pip install --upgrade build twine diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 78a69e5b8..622c61680 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -53,6 +53,9 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} cache: pip + cache-dependency-path: | + pyproject.toml + requirements.txt - name: Set up build cache uses: actions/cache/restore@v3