Skip to content

Commit

Permalink
chore(ci): use astral-sh/setup-uv action
Browse files Browse the repository at this point in the history
Generated by the task: njzjz-bot/njzjz-bot#9.
  • Loading branch information
njzjz-bot committed Oct 5, 2024
1 parent 461c500 commit fb4aaab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
uses: astral-sh/setup-uv@v3

with:

enable-cache: true
- name: Build dist
run: uv tool run --with build[uv] --from build python -m build --installer uv
- name: Upload release distributions
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
uses: astral-sh/setup-uv@v3

with:

enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit fb4aaab

Please sign in to comment.