File tree Expand file tree Collapse file tree 4 files changed +14
-11
lines changed
Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,18 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313 - name : Set up Python
14- uses : actions/setup-python@v4
14+ uses : actions/setup-python@v5
1515 with :
1616 python-version : 3.8
1717 - name : Install Flit
1818 run : pip install flit
1919 - name : Install Dependencies
2020 run : flit install --symlink
21+ - name : Install build dependencies
22+ run : pip install build
23+ - name : Build distribution
24+ run : python -m build
2125 - name : Publish
22- env :
23- FLIT_USERNAME : ${{ secrets.FLIT_USERNAME }}
24- FLIT_PASSWORD : ${{ secrets.FLIT_PASSWORD }}
25- run : flit publish
26+ 27+ with :
28+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v4
1414 - name : Set up Python
15- uses : actions/setup-python@v4
15+ uses : actions/setup-python@v5
1616 with :
1717 python-version : 3.8
1818 - name : Install Flit
2222 - name : Test
2323 run : make test-cov
2424 - name : Coverage
25- uses : codecov/codecov-action@v3.1.4
25+ uses : codecov/codecov-action@v4.0.0
Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v4
1717 - name : Set up Python
18- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v5
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 - name : Install Flit
3030 steps :
3131 - uses : actions/checkout@v4
3232 - name : Set up Python
33- uses : actions/setup-python@v4
33+ uses : actions/setup-python@v5
3434 with :
3535 python-version : 3.8
3636 - name : Install Flit
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ Homepage = "https://python-ellar.github.io/ellar-throttler/"
5151
5252[project .optional-dependencies ]
5353test = [
54- " pytest >= 7.1.3,<8 .0.0" ,
54+ " pytest >= 7.1.3,< 9 .0.0" ,
5555 " pytest-cov >= 2.12.0,<5.0.0" ,
5656 " mypy == 1.8.0" ,
57- " ruff ==0.1.7 " ,
57+ " ruff ==0.1.15 " ,
5858 " pytest-asyncio" ,
5959 " autoflake" ,
6060]
You can’t perform that action at this time.
0 commit comments