@@ -119,6 +119,13 @@ jobs:
119119 - name : Checkout Repo
120120 uses : actions/checkout@v4
121121
122+ - name : Parse .tool-versions
123+ uses : wistia/parse-tool-versions@v2.1.1
124+ with :
125+ filename : ' .tool-versions'
126+ uppercase : ' true'
127+ prefix : ' tool_version_'
128+
122129 - name : Install pnpm
123130 uses : pnpm/action-setup@v3
124131 id : pnpm-install
@@ -128,12 +135,12 @@ jobs:
128135 - name : Set up Python
129136 uses : actions/setup-python@v6
130137 with :
131- python-version : " 3.13 "
138+ python-version : ' ${{ env.TOOL_VERSION_PYTHON }} '
132139
133140 - name : Install and configure Poetry
134141 uses : snok/install-poetry@v1
135142 with :
136- version : 1.5.1
143+ version : ' ${{ env.TOOL_VERSION_POETRY }} '
137144 virtualenvs-create : true
138145 virtualenvs-in-project : true
139146 installer-parallel : true
@@ -179,6 +186,13 @@ jobs:
179186 - name : Checkout repository
180187 uses : actions/checkout@v4
181188
189+ - name : Parse .tool-versions
190+ uses : wistia/parse-tool-versions@v2.1.1
191+ with :
192+ filename : ' .tool-versions'
193+ uppercase : ' true'
194+ prefix : ' tool_version_'
195+
182196 - name : Set up Docker Buildx
183197 uses : docker/setup-buildx-action@v3
184198
@@ -202,7 +216,7 @@ jobs:
202216
203217 - uses : actions/setup-python@v6
204218 with :
205- python-version : ' 3.13 '
219+ python-version : ' ${{ env.TOOL_VERSION_PYTHON }} '
206220
207221 - name : Install development dependencies
208222 working-directory : ./template
@@ -227,9 +241,17 @@ jobs:
227241 steps :
228242 - name : Checkout repository
229243 uses : actions/checkout@v4
244+
245+ - name : Parse .tool-versions
246+ uses : wistia/parse-tool-versions@v2.1.1
247+ with :
248+ filename : ' .tool-versions'
249+ uppercase : ' true'
250+ prefix : ' tool_version_'
251+
230252 - uses : actions/setup-python@v6
231253 with :
232- python-version : ' 3.13 '
254+ python-version : ' ${{ env.TOOL_VERSION_PYTHON }} '
233255
234256 - name : Install development dependencies
235257 working-directory : ./template
@@ -284,15 +306,22 @@ jobs:
284306 with :
285307 token : ${{ steps.app-token.outputs.token }}
286308
309+ - name : Parse .tool-versions
310+ uses : wistia/parse-tool-versions@v2.1.1
311+ with :
312+ filename : ' .tool-versions'
313+ uppercase : ' true'
314+ prefix : ' tool_version_'
315+
287316 - name : Set up Python
288317 uses : actions/setup-python@v6
289318 with :
290- python-version : " 3.13 "
319+ python-version : ' ${{ env.TOOL_VERSION_PYTHON }} '
291320
292321 - name : Install and configure Poetry
293322 uses : snok/install-poetry@v1
294323 with :
295- version : 1.8.1
324+ version : ' ${{ env.TOOL_VERSION_POETRY }} '
296325 virtualenvs-create : true
297326 virtualenvs-in-project : true
298327 installer-parallel : true
0 commit comments