File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 2222 - uses : actions/setup-python@v2
2323 with :
2424 python-version : ${{ matrix.python-version }}
25- - name : Run image
26- uses : abatilo/actions-poetry@v2.2.0
25+ - uses : Gr1N/setup-poetry@v8
26+ with :
27+ poetry-version : " 1.4.0"
28+ - uses : actions/cache@v2
29+ with :
30+ path : ~/.cache/pypoetry/virtualenvs
31+ key : ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
32+ - run : poetry --version
33+ - name : Prepare variables
34+ id : vars
35+ run : |
36+ echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT
2737 - name : Install dependencies
2838 run : make install
2939 - name : Run check
Original file line number Diff line number Diff line change @@ -15,12 +15,18 @@ jobs:
1515 uses : actions/setup-python@v2
1616 with :
1717 python-version : 3.9
18+ - uses : Gr1N/setup-poetry@v8
19+ with :
20+ poetry-version : " 1.4.0"
21+ - uses : actions/cache@v2
22+ with :
23+ path : ~/.cache/pypoetry/virtualenvs
24+ key : ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
25+ - run : poetry --version
1826 - name : Prepare variables
1927 id : vars
2028 run : |
21- echo ::set-output name=version::$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')
22- - name : Install poetry
23- uses : abatilo/actions-poetry@v2.1.3
29+ echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT
2430 - name : Install dependencies
2531 run : make install
2632 - name : Run check
You can’t perform that action at this time.
0 commit comments