Skip to content

Commit bbe8fbd

Browse files
authored
Merge branch 'master' into dependabot/pip/mypy-1.8.0
2 parents d890842 + 13b8c1f commit bbe8fbd

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
uses: pypa/[email protected]
27+
with:
28+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
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
@@ -22,4 +22,4 @@ jobs:
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

.github/workflows/test_full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
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
@@ -30,7 +30,7 @@ jobs:
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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Homepage = "https://python-ellar.github.io/ellar-throttler/"
5151

5252
[project.optional-dependencies]
5353
test = [
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
]

0 commit comments

Comments
 (0)