-
-
Notifications
You must be signed in to change notification settings - Fork 23
Fix incorrect GitHub Action reference in benchmarks workflow #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect GitHub Action reference in benchmarks workflow #155
Conversation
Replace astral-sh/uv-action@v3 with astral-sh/setup-uv@v7 to fix workflow failures. This aligns with the action used in other workflows (code_quality.yml) and resolves the "repository not found" error. Co-authored-by: jacksonpradolima <[email protected]>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a failing Benchmarks workflow by replacing the incorrect GitHub Action reference astral-sh/uv-action@v3 (which doesn't exist) with the correct astral-sh/setup-uv@v7 action that is already used in other workflows.
Key changes:
- Corrected the action name from
astral-sh/uv-actiontoastral-sh/setup-uvin both benchmark jobs - Updated action parameters: removed
version: "latest", addedenable-cache: true - Aligned configuration with the pattern used in
code_quality.yml
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| version: "latest" | ||
| python-version: "3.13" |
Copilot
AI
Jan 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The python-version parameter is redundant here since Python is already set up in the previous step using actions/setup-python@v6. The astral-sh/setup-uv action will automatically detect and use the Python version from the environment. This parameter should be removed to avoid confusion and potential conflicts.
| python-version: "3.13" |
| uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| version: "latest" | ||
| python-version: "3.13" |
Copilot
AI
Jan 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The python-version parameter is redundant here since Python is already set up in the previous step using actions/setup-python@v6. The astral-sh/setup-uv action will automatically detect and use the Python version from the environment. This parameter should be removed to avoid confusion and potential conflicts.
| python-version: "3.13" |



The Benchmarks workflow was failing with "Unable to resolve action astral-sh/uv-action, repository not found." The action name was incorrect.
Changes
astral-sh/uv-action@v3withastral-sh/setup-uv@v7in bothrust-benchmarkandpython-benchmarkjobsversion: "latest", addedenable-cache: truecode_quality.ymlOriginal prompt
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.