diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index be498fe..fc8a271 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -30,6 +30,11 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-dev.txt + pyproject.toml - name: Install dependencies run: | @@ -66,6 +71,11 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.12' + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-dev.txt + pyproject.toml - name: Download all artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0222cd..1a4540c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-dev.txt + pyproject.toml - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7c64b69..ae081d3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,6 +18,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-dev.txt + pyproject.toml - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 473c755..c5b0d3f 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -16,9 +16,14 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.12' + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-dev.txt + pyproject.toml - name: Install dependencies run: |