From a77e895048941db617ee9a810b5cb84393922c7e Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Thu, 5 Sep 2024 20:57:33 +0200 Subject: [PATCH] install `uv` with github action --- .github/workflows/docs.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7ab33ba..cac5e44 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,8 +11,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install uv v0.4.2 - run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh + - name: Install uv + uses: astral-sh/setup-uv@v1 + with: + version: "latest" + enable-cache: true + cache-dependency-glob: "uv.lock" - name: Setup Python uses: actions/setup-python@v5.0.0