Skip to content

fix: adding the uv binary to the release workflow#442

Merged
ruromero merged 2 commits intoguacsec:mainfrom
a-oren:fix/install-uv
Apr 27, 2026
Merged

fix: adding the uv binary to the release workflow#442
ruromero merged 2 commits intoguacsec:mainfrom
a-oren:fix/install-uv

Conversation

@a-oren
Copy link
Copy Markdown
Contributor

@a-oren a-oren commented Apr 27, 2026

Description

Describe what you did and why.

Related issue (if any): fixes #issue_number_goes_here

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

Anything else?

Summary by Sourcery

CI:

  • Install the uv tool in the release workflow using the astral-sh/setup-uv action.

@a-oren a-oren requested a review from ruromero April 27, 2026 14:08
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 27, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the release GitHub Actions workflow to install the uv binary as part of the job setup before computing Maven profiles, ensuring uv is available for subsequent steps that may depend on it.

File-Level Changes

Change Details Files
Add installation of the uv binary to the release GitHub Actions workflow setup sequence.
  • Insert a new workflow step named 'Install uv' into the release job.
  • Configure the new step to use the astral-sh/setup-uv@v6 action to install the uv binary.
  • Place the uv installation step immediately after the pnpm installation and before Maven profile computation to ensure tooling is ready for later steps.
.github/workflows/release.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/workflows/release.yml" line_range="97-98" />
<code_context>
       - name: Install pnpm
         run: npm install -g pnpm

+      - name: Install uv
+        uses: astral-sh/setup-uv@v6
+
       - name: Compute Maven profiles
</code_context>
<issue_to_address>
**🚨 suggestion (security):** Consider pinning the setup-uv action to a specific commit SHA instead of a moving major tag

Using a mutable tag like `@v6` can introduce supply-chain risk and non-reproducible builds. Please pin this action to a specific commit SHA (or a more specific tag) and, if helpful, add a short note on how/when to update it.

```suggestion
      - name: Install uv
        # Pin setup-uv to a specific version; update as needed when upgrading uv or CI tooling
        uses: astral-sh/setup-uv@v6.0.0
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread .github/workflows/release.yml Outdated
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Ruben Romero Montes <discolo@gmail.com>
@ruromero ruromero enabled auto-merge (squash) April 27, 2026 14:19
@ruromero ruromero merged commit 2786440 into guacsec:main Apr 27, 2026
45 checks passed
@a-oren a-oren deleted the fix/install-uv branch April 27, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants