diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 33b2e805..1e34f783 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -26,9 +26,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: install the latest version uv - uses: astral-sh/setup-uv@v3 + uses: astral-sh/setup-uv@v5 with: version: latest + enable-cache: true - name: create virtual environment run: uv venv --python '3.10' - name: install pre-commit diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a7b88cb2..6361a998 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -26,9 +26,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: install the latest version uv - uses: astral-sh/setup-uv@v3 + uses: astral-sh/setup-uv@v5 with: version: latest + enable-cache: true - name: create venv run: uv venv --python ${{ matrix.python-version }} - name: install dependencies