From a16743eee20ed1630fff41302830b636dda092c4 Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Wed, 16 Jul 2025 11:31:32 -0400 Subject: [PATCH] Don't fix UV version in build.yml workflow Signed-off-by: Fabrice Normandin --- .github/workflows/build.yml | 20 ++++++++------------ .github/workflows/docs.yml | 2 +- .github/workflows/template-sync.yml | 2 +- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4317d78c..01ee57ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true -env: - UV_VERSION: "0.6.2" - - jobs: linting: @@ -31,9 +27,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: - version: ${{ env.UV_VERSION }} + version: "latest" # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token github-token: ${{ secrets.GITHUB_TOKEN }} - run: uvx pre-commit run --all-files --show-diff-on-failure @@ -47,9 +43,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: - version: ${{ env.UV_VERSION }} + version: "latest" # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token github-token: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies @@ -68,9 +64,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: - version: ${{ env.UV_VERSION }} + version: "latest" python-version: ${{ matrix.python-version }} # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token github-token: ${{ secrets.GITHUB_TOKEN }} @@ -133,9 +129,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install the latest version of uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: - version: ${{ env.UV_VERSION }} + version: "latest" # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token github-token: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 84be2ada..dae23c20 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install the latest version of uv - uses: astral-sh/setup-uv@v3 + uses: astral-sh/setup-uv@v6 with: version: "latest" # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token diff --git a/.github/workflows/template-sync.yml b/.github/workflows/template-sync.yml index fc1237fd..3b1901e9 100644 --- a/.github/workflows/template-sync.yml +++ b/.github/workflows/template-sync.yml @@ -32,7 +32,7 @@ jobs: with: python-version: "3.12" - name: Setup uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: version: "latest" # https://github.com/astral-sh/setup-uv?tab=readme-ov-file#github-authentication-token