Skip to content

Commit 2375261

Browse files
authored
chore(ci): use astral-sh/setup-uv action (#2282)
Generated by the task: njzjz-bot/njzjz-bot#9. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a dynamic runner selection for ARM64 builds. - Enhanced wheel building with a matrix strategy across multiple operating systems and Python versions. - **Improvements** - Streamlined source distribution building and artifact uploads. - Optimized caching for package installation using GitHub Actions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent ac39c96 commit 2375261

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wheel.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ jobs:
5656
steps:
5757
- uses: actions/checkout@v4
5858
- name: Install uv
59-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
59+
uses: astral-sh/setup-uv@v3
60+
with:
61+
enable-cache: true
62+
cache-dependency-glob: |
63+
**/requirements*.txt
64+
**/pyproject.toml
6065
if: runner.os != 'Linux'
6166
- uses: docker/setup-qemu-action@v3
6267
name: Setup QEMU

0 commit comments

Comments
 (0)