Skip to content

Commit 2773331

Browse files
authored
Merge pull request #2 from arduino/update_workflow
misc: Add pip requirements file for workflow.
2 parents b5f14a0 + d96fc40 commit 2773331

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/python-linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ jobs:
2828

2929
- name: '🛠 Install dependencies'
3030
run: |
31-
python -m pip install --upgrade pip
32-
python -m pip install flake8==6.0.0 pytest==7.4.0
31+
pip install -r .github/workflows/requirements.txt
32+
flake8 --version
33+
pytest --version
3334
3435
- name: '😾 Lint with flake8'
3536
run: |

.github/workflows/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
flake8==6.0.0
2+
pytest==7.4.0

0 commit comments

Comments
 (0)