Skip to content

Commit 1a006fc

Browse files
committed
ci: add package check
1 parent 7b5a1a1 commit 1a006fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ jobs:
1818
python-version: "3.10"
1919
- name: 🏗 Install build dependencies
2020
run: >-
21-
python -m pip install wheel --user
21+
python -m pip install wheel build twine --user
2222
- name: 🔨 Build a binary wheel and a source tarball
2323
run: >-
24-
python setup.py sdist bdist_wheel
24+
python -m build
25+
- name: 🧪 Check that twine is happy with it
26+
run: >-
27+
twine check --strict dist/*
2528
- name: ⬆ Upload build result
2629
uses: actions/upload-artifact@v4
2730
with:

0 commit comments

Comments
 (0)