Skip to content

Commit 0ddfc02

Browse files
committed
👷 Use uv build
1 parent f101f5e commit 0ddfc02

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,13 @@ jobs:
4646
- uses: codecov/codecov-action@v4
4747
build:
4848
needs: test
49-
strategy:
50-
fail-fast: false
51-
matrix:
52-
runs-on:
53-
- ubuntu-latest
54-
- macos-latest
55-
- windows-latest
56-
runs-on: ${{ matrix.runs-on }}
49+
runs-on: ubuntu-latest
5750
steps:
5851
- uses: actions/checkout@v4
59-
- uses: actions/setup-python@v5
60-
with:
61-
python-version: ${{ env.python-version }}
62-
cache: ${{ env.cache }}
63-
cache-dependency-path: |-
64-
requirements/dev.txt
65-
- name: Install dependencies
66-
run: |
67-
pip install build
52+
- uses: astral-sh/setup-uv@v6
6853
- name: Build
6954
run: |
70-
python -m build
55+
uv build
7156
- uses: pypa/gh-action-pypi-publish@release/v1
7257
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
7358
with:

0 commit comments

Comments
 (0)