Skip to content

Commit f5f54f1

Browse files
committed
Migrate to pyproject.toml
1 parent 6199c2d commit f5f54f1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ jobs:
1919
with:
2020
ref: ${{ github.ref }}
2121

22-
- name: Set up Python 3.12
23-
uses: actions/setup-python@v5
22+
- name: "Setup Python, Poetry and Dependencies"
23+
uses: dsoftwareinc/setup-python-poetry-action@v1
2424
with:
25-
python-version: 3.12
26-
allow-prereleases: true
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install flake8
25+
python-version: "3.12"
26+
poetry-version: "1.8.3"
27+
3128
- name: Run flake8
3229
shell: bash
3330
run: |
@@ -43,6 +40,7 @@ jobs:
4340

4441
steps:
4542
- uses: actions/checkout@v4
43+
4644
- name: "Setup Python, Poetry and Dependencies"
4745
uses: dsoftwareinc/setup-python-poetry-action@v1
4846
with:

0 commit comments

Comments
 (0)