Skip to content

Commit 7ae345d

Browse files
committed
CI: simplify Python setup
1 parent 809aad1 commit 7ae345d

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

.github/workflows/checks.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,24 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
include:
12-
- python-version: 3.8
13-
env:
12+
- env:
1413
TOXENV: bandit
15-
- python-version: 3.8
16-
env:
14+
- env:
1715
TOXENV: black
18-
- python-version: 3.8
19-
env:
16+
- env:
2017
TOXENV: flake8
21-
- python-version: 3.8
22-
env:
18+
- env:
2319
TOXENV: typing
24-
- python-version: 3.8
25-
env:
20+
- env:
2621
TOXENV: pylint
2722

2823
steps:
2924
- uses: actions/checkout@v4
3025

31-
- name: Set up Python ${{ matrix.python-version }}
26+
- name: Set up Python
3227
uses: actions/setup-python@v5
3328
with:
34-
python-version: ${{ matrix.python-version }}
29+
python-version: 3.11
3530

3631
- name: Run check
3732
env: ${{ matrix.env }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212

13-
- name: Set up Python 3
13+
- name: Set up Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3
16+
python-version: 3.11
1717

1818
- name: Publish to PyPI
1919
run: |

0 commit comments

Comments
 (0)