Skip to content

Commit c8afead

Browse files
authored
Update test_esptool.yml
1 parent 1ebda2e commit c8afead

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/test_esptool.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
11+
python-version: ['3.9', '3.10', '3.11', '3.12']
1212

1313
steps:
1414
- name: Checkout ref commit
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install 'setuptools>=64'
25+
pip install setuptools
2626
2727
- name: SoftHSM2 setup
2828
run: |
@@ -51,11 +51,10 @@ jobs:
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@master
54-
55-
- name: Set up Python 3.13
54+
- name: Set up Python 3.12
5655
uses: actions/setup-python@master
5756
with:
58-
python-version: 3.13
57+
python-version: 3.12
5958

6059
- name: Check if flasher stubs are up-to-date
6160
run: |
@@ -67,13 +66,12 @@ jobs:
6766
steps:
6867
- name: Checkout
6968
uses: actions/checkout@master
70-
71-
- name: Set up Python 3.7
69+
- name: Set up Python 3.9
7270
uses: actions/setup-python@master
7371
with:
74-
python-version: 3.7
75-
76-
- name: Run pre-commit hooks
72+
python-version: '3.9'
73+
- name: Lint and format with ruff
7774
run: |
7875
pip install --extra-index-url https://dl.espressif.com/pypi -e .[dev]
79-
pre-commit run --all-files
76+
python -m ruff check
77+
python -m ruff format

0 commit comments

Comments
 (0)