From 2763d8e9c4a368773b48c93bffdcfd225353a31e Mon Sep 17 00:00:00 2001 From: Vlad Emelianov Date: Sat, 9 Nov 2024 19:30:56 +0300 Subject: [PATCH] Use setup-uv action in CI --- .github/workflows/on_push.yml | 4 +++- .github/workflows/publish_on_update.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on_push.yml b/.github/workflows/on_push.yml index cd36d09..fb3a150 100644 --- a/.github/workflows/on_push.yml +++ b/.github/workflows/on_push.yml @@ -32,7 +32,9 @@ jobs: python-version: ${{ matrix.version }} allow-prereleases: true - name: Set up uv - run: curl -LsSf https://astral.sh/uv/install.sh | sh + uses: astral-sh/setup-uv@v3 + with: + version: "latest" - name: Install the project run: | uv sync --all-extras --dev diff --git a/.github/workflows/publish_on_update.yml b/.github/workflows/publish_on_update.yml index 599432d..011de56 100644 --- a/.github/workflows/publish_on_update.yml +++ b/.github/workflows/publish_on_update.yml @@ -55,7 +55,9 @@ jobs: with: python-version: "3.13" - name: Set up uv - run: curl -LsSf https://astral.sh/uv/install.sh | sh + uses: astral-sh/setup-uv@v3 + with: + version: "latest" - name: Install the project run: uv sync --dev - name: Install package