Skip to content

Commit 1db3bc7

Browse files
committed
Use twine for linting
1 parent bef2c67 commit 1db3bc7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/lint-readme.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
uses: actions/checkout@v4
3737

3838
- name: Install dependencies
39-
run: pip install setuptools docutils pygments
39+
run: pip install build twine
4040

41-
- name: Lint Readme
42-
run: python setup.py check --restructuredtext --strict
41+
- name: Build package
42+
run: python -m build
43+
44+
- name: Run twine check
45+
run: twine check dist/*

0 commit comments

Comments
 (0)