diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72ce4f0..241f2e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - name: Install dependencies run: pip install -e ".[dev]" @@ -47,6 +49,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - name: Install dependencies run: pip install -e ".[dev,all]" @@ -72,6 +76,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - name: Install build tools run: pip install build twine diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b8da96..286c1a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - name: Install dependencies run: pip install -e ".[dev,all]"