File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 99 syntax-check :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v4
1313 - name : Python setup
14- uses : actions/setup-python@v2
14+ uses : actions/setup-python@v5
1515 with :
1616 python-version : ' 3.12'
1717 - name : Install test dependencies
Original file line number Diff line number Diff line change 77 publish :
88 if : github.event_name == 'release'
99 runs-on : ubuntu-latest
10+
11+ permissions :
12+ id-token : write
13+
1014 steps :
11- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
16+
1217 - name : Python setup
13- uses : actions/setup-python@v2
18+ uses : actions/setup-python@v5
1419 with :
15- python-version : ' 3.10'
16- - name : Install build, wheel and twine
17- run : pip install build wheel twine
20+ python-version : ' 3.12'
21+
22+ - name : Install 'build' and 'wheel'
23+ run : pip install build wheel
24+
1825 - name : Build source tarball and binary
1926 run : python -m build --sdist --wheel --outdir dist/
27+
2028 - name : Publish to PyPI
21- uses : pypa/gh-action-pypi-publish@master
22- with :
23- password : ${{ secrets.PYPI_API_TOKEN }}
29+ uses : pypa/gh-action-pypi-publish@release/v1.8
Original file line number Diff line number Diff line change 1111
1212
1313requirements = []
14- with open (BASE_DIR / "requirements.in " , "r" ) as req_file :
14+ with open (BASE_DIR / "requirements.txt " , "r" ) as req_file :
1515 for item in req_file :
1616 requirements .append (item )
1717
You can’t perform that action at this time.
0 commit comments