32
32
if : inputs.run-mypy
33
33
steps :
34
34
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
35
+ with :
36
+ persist-credentials : false
35
37
36
38
- uses : ./.github/actions/bootstrap-poetry
37
39
id : bootstrap-poetry
56
58
if : inputs.run-pytest
57
59
steps :
58
60
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
61
+ with :
62
+ persist-credentials : false
59
63
60
64
- uses : ./.github/actions/bootstrap-poetry
61
65
with :
79
83
steps :
80
84
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
81
85
with :
86
+ persist-credentials : false
82
87
path : poetry
83
88
84
89
- uses : ./poetry/.github/actions/bootstrap-poetry
95
100
- name : Check out poetry-plugin-export
96
101
uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
97
102
with :
103
+ persist-credentials : false
98
104
path : poetry-plugin-export
99
105
repository : python-poetry/poetry-plugin-export
100
106
ref : refs/tags/${{ steps.poetry-plugin-export-version.outputs.version }}
@@ -104,8 +110,10 @@ jobs:
104
110
# Replace the python version to avoid conflicts
105
111
# if the plugin still supports a wider range than Poetry itself.
106
112
run : |
107
- perl -pi -e 's/^python =.*$/python = "~${{ inputs.python-version }} "/' pyproject.toml
113
+ perl -pi -e 's/^python =.*$/python = "~'"${PYTHON_VERSION}"' "/' pyproject.toml
108
114
poetry add --lock --group dev ../poetry
115
+ env :
116
+ PYTHON_VERSION : ${{ inputs.python-version }}
109
117
110
118
# This step can be removed after having released a poetry-plugin-export version
111
119
# that has cffi>=1.17.0 in its lock file.
0 commit comments