@@ -131,7 +131,7 @@ jobs:
131
131
132
132
- name : Load Poetry Cached Libraries ⬇
133
133
id : cache-poetry
134
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
134
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
135
135
with :
136
136
path : .venv
137
137
key : ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -143,13 +143,13 @@ jobs:
143
143
144
144
- name : Create virtual environment
145
145
if : steps.cache-poetry.outputs.cache-hit != 'true'
146
- run : python -m venv create .venv
146
+ run : python -m venv .venv
147
147
148
148
- name : Set up virtual environment
149
149
run : poetry config virtualenvs.in-project true
150
150
151
151
- name : Load Yarn Cached Packages ⬇
152
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
152
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
153
153
with :
154
154
path : docs/node_modules
155
155
key : ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -226,7 +226,7 @@ jobs:
226
226
- name : Load Poetry Cached Libraries ⬇
227
227
id : cache-poetry
228
228
if : needs.changes.outputs.docs == 'true'
229
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
229
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
230
230
with :
231
231
path : .venv
232
232
key : ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -238,15 +238,15 @@ jobs:
238
238
239
239
- name : Create virtual environment
240
240
if : (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-preview-docs')) && needs.changes.outputs.docs == 'true'
241
- run : python -m venv create .venv
241
+ run : python -m venv .venv
242
242
243
243
- name : Set up virtual environment
244
244
if : needs.changes.outputs.docs == 'true'
245
245
run : poetry config virtualenvs.in-project true
246
246
247
247
- name : Load Yarn Cached Packages ⬇
248
248
if : needs.changes.outputs.docs == 'true'
249
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
249
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
250
250
with :
251
251
path : docs/node_modules
252
252
key : ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -299,7 +299,7 @@ jobs:
299
299
node-version : " 12.x"
300
300
301
301
- name : Load Yarn Cached Packages ⬇
302
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
302
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
303
303
with :
304
304
path : docs/node_modules
305
305
key : ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
0 commit comments