File tree 4 files changed +8
-21
lines changed
4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,10 @@ jobs:
34
34
run : echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
35
35
36
36
- name : Install poetry
37
- run : |
38
- curl -O -sSL https://install.python-poetry.org/install-poetry.py
39
- python install-poetry.py -y --version 1.1.14
40
- echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
41
- rm install-poetry.py
37
+ run : pipx install "poetry==1.1.14"
42
38
43
39
- name : Set up Python ${{ matrix.python-version }}
44
- uses : actions/setup-python@v3
40
+ uses : actions/setup-python@v4
45
41
with :
46
42
python-version : ${{ matrix.python-version }}
47
43
cache : ' poetry'
50
46
run : echo "$HOME/.local/bin" >> $GITHUB_PATH
51
47
52
48
- name : Install dependencies [w/ docs]
53
- run : |
54
- poetry env use ${{ matrix.python-version }}
55
- poetry install --extras "docs lint"
49
+ run : poetry install --extras "docs lint"
56
50
57
51
- name : Build documentation
58
52
run : |
Original file line number Diff line number Diff line change @@ -20,23 +20,16 @@ jobs:
20
20
steps :
21
21
- uses : actions/checkout@v3
22
22
- name : Install poetry
23
- run : |
24
- curl -O -sSL https://install.python-poetry.org/install-poetry.py
25
- python install-poetry.py -y --version 1.1.14
26
- echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
27
- rm install-poetry.py
23
+ run : pipx install "poetry==1.1.14"
28
24
29
25
- name : Set up Python ${{ matrix.python-version }}
30
- uses : actions/setup-python@v3
26
+ uses : actions/setup-python@v4
31
27
with :
32
28
python-version : ${{ matrix.python-version }}
33
29
cache : ' poetry'
34
30
35
31
- name : Install dependencies
36
- run : |
37
- # This is required to do as of @actions/checkout@v3 to prevent default python from being used
38
- poetry env use ${{ matrix.python-version }}
39
- poetry install -E "docs test coverage lint format"
32
+ run : poetry install -E "docs test coverage lint format"
40
33
41
34
- name : Lint with flake8
42
35
run : poetry run flake8
Original file line number Diff line number Diff line change 1
- 3.10.5 3.9.13
1
+ 3.10.6 3.9.13
Original file line number Diff line number Diff line change 1
1
poetry 1.1.14
2
- python 3.10.5 3.9.13
2
+ python 3.10.6 3.9.13
You can’t perform that action at this time.
0 commit comments