diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b41cb6036..690098735 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,15 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true + python-version: ${{ matrix.python-version }} + cache-dependency-glob: "requirements**.txt" + cache-suffix: "${{ matrix.python-version }}" + prune-cache: false + - name: Cache_dependencies uses: actions/cache@v4 id: cache @@ -42,12 +51,6 @@ jobs: path: ~/dependencies/ key: ${{ runner.os }}-dependencies - - name: pip cache (linux) - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-${{ matrix.python-version }}-ubuntu - - name: TA binary *nix if: steps.cache.outputs.cache-hit != 'true' run: | @@ -161,6 +164,15 @@ jobs: python-version: ${{ matrix.python-version }} check-latest: true + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true + python-version: ${{ matrix.python-version }} + cache-dependency-glob: "requirements**.txt" + cache-suffix: "${{ matrix.python-version }}" + prune-cache: false + - name: Cache_dependencies uses: actions/cache@v4 id: cache @@ -168,12 +180,6 @@ jobs: path: ~/dependencies/ key: ${{ matrix.os }}-dependencies - - name: pip cache (macOS) - uses: actions/cache@v4 - with: - path: ~/Library/Caches/pip - key: pip-${{ matrix.os }}-${{ matrix.python-version }} - - name: TA binary *nix if: steps.cache.outputs.cache-hit != 'true' run: |