File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
1616 with :
1717 python-version : " 3.11"
1818
19- - name : Build the distribution
19+ - name : Build source and wheel distributions
2020 run : |
21- pip install -r requirements.txt
22- python -m pip install --upgrade build
21+ python -m pip install --upgrade build twine
2322 python -m build
23+ twine check --strict dist/*
2424
2525 - name : Publish distribution to PyPI
2626 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -3,8 +3,12 @@ name: Check code
33on :
44 push :
55 branches : [main]
6+ paths :
7+ - ' **.py'
68 pull_request :
79 branches : [main]
10+ paths :
11+ - ' **.py'
812
913jobs :
1014 code-checks :
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=61.0" ]
2+ requires = [
3+ " setuptools>=61.0" ,
4+ " setuptools-scm>=8.0" ]
35build-backend = " setuptools.build_meta"
46
7+ [tool .setuptools_scm ]
8+
59[project ]
610name = " django-simple-components"
7- version = " 0.0.1 "
11+ dynamic = [ " version " ]
812authors = [
913 {
name =
" Pavel Kutsenko" ,
email =
" [email protected] " },
1014]
You can’t perform that action at this time.
0 commit comments