8
8
- ' release/*'
9
9
- ' release-*'
10
10
11
+ permissions : {}
12
+
11
13
env :
12
14
NODE_VERSION : 20.18.0
13
15
PYTHON_VERSION : ' 3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
@@ -83,12 +85,15 @@ jobs:
83
85
steps :
84
86
- name : Checkout
85
87
uses : actions/checkout@v4
88
+ with :
89
+ persist-credentials : false
86
90
87
91
- name : Checkout Python Environment Tools
88
92
uses : actions/checkout@v4
89
93
with :
90
94
repository : ' microsoft/python-environment-tools'
91
95
path : ' python-env-tools'
96
+ persist-credentials : false
92
97
sparse-checkout : |
93
98
crates
94
99
Cargo.toml
@@ -111,6 +116,8 @@ jobs:
111
116
steps :
112
117
- name : Checkout
113
118
uses : actions/checkout@v4
119
+ with :
120
+ persist-credentials : false
114
121
115
122
- name : Lint
116
123
uses : ./.github/actions/lint
@@ -129,14 +136,16 @@ jobs:
129
136
130
137
- name : Checkout
131
138
uses : actions/checkout@v4
139
+ with :
140
+ persist-credentials : false
132
141
133
142
- name : Install core Python requirements
134
- uses : brettcannon/pip-secure-install@v1
143
+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
135
144
with :
136
145
options : ' -t ./python_files/lib/python --no-cache-dir --implementation py'
137
146
138
147
- name : Install Jedi requirements
139
- uses : brettcannon/pip-secure-install@v1
148
+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
140
149
with :
141
150
requirements-file : ' ./python_files/jedilsp_requirements/requirements.txt'
142
151
options : ' -t ./python_files/lib/jedilsp --no-cache-dir --implementation py'
@@ -146,7 +155,7 @@ jobs:
146
155
python -m pip install --upgrade -r build/test-requirements.txt
147
156
148
157
- name : Run Pyright
149
- uses : jakebailey/pyright-action@v2
158
+ uses : jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
150
159
with :
151
160
version : 1.1.308
152
161
working-directory : ' python_files'
@@ -172,14 +181,15 @@ jobs:
172
181
uses : actions/checkout@v4
173
182
with :
174
183
path : ${{ env.special-working-directory-relative }}
184
+ persist-credentials : false
175
185
176
186
- name : Use Python ${{ matrix.python }}
177
187
uses : actions/setup-python@v5
178
188
with :
179
189
python-version : ${{ matrix.python }}
180
190
181
191
- name : Install base Python requirements
182
- uses : brettcannon/pip-secure-install@v1
192
+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
183
193
with :
184
194
requirements-file : ' "${{ env.special-working-directory-relative }}/requirements.txt"'
185
195
options : ' -t "${{ env.special-working-directory-relative }}/python_files/lib/python" --no-cache-dir --implementation py'
@@ -211,12 +221,14 @@ jobs:
211
221
uses : actions/checkout@v4
212
222
with :
213
223
path : ${{ env.special-working-directory-relative }}
224
+ persist-credentials : false
214
225
215
226
- name : Checkout Python Environment Tools
216
227
uses : actions/checkout@v4
217
228
with :
218
229
repository : ' microsoft/python-environment-tools'
219
230
path : ${{ env.special-working-directory-relative }}/python-env-tools
231
+ persist-credentials : false
220
232
sparse-checkout : |
221
233
crates
222
234
Cargo.toml
@@ -358,7 +370,7 @@ jobs:
358
370
env :
359
371
TEST_FILES_SUFFIX : testvirtualenvs
360
372
CI_PYTHON_VERSION : ${{ matrix.python }}
361
-
373
+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
362
374
with :
363
375
run : npm run testSingleWorkspace
364
376
working-directory : ${{ env.special-working-directory }}
@@ -367,7 +379,7 @@ jobs:
367
379
- name : Run single-workspace tests
368
380
env :
369
381
CI_PYTHON_VERSION : ${{ matrix.python }}
370
-
382
+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
371
383
with :
372
384
run : npm run testSingleWorkspace
373
385
working-directory : ${{ env.special-working-directory }}
@@ -376,7 +388,7 @@ jobs:
376
388
- name : Run multi-workspace tests
377
389
env :
378
390
CI_PYTHON_VERSION : ${{ matrix.python }}
379
-
391
+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
380
392
with :
381
393
run : npm run testMultiWorkspace
382
394
working-directory : ${{ env.special-working-directory }}
@@ -385,7 +397,7 @@ jobs:
385
397
- name : Run debugger tests
386
398
env :
387
399
CI_PYTHON_VERSION : ${{ matrix.python }}
388
-
400
+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
389
401
with :
390
402
run : npm run testDebugger
391
403
working-directory : ${{ env.special-working-directory }}
@@ -415,12 +427,15 @@ jobs:
415
427
steps :
416
428
- name : Checkout
417
429
uses : actions/checkout@v4
430
+ with :
431
+ persist-credentials : false
418
432
419
433
- name : Checkout Python Environment Tools
420
434
uses : actions/checkout@v4
421
435
with :
422
436
repository : ' microsoft/python-environment-tools'
423
437
path : ${{ env.special-working-directory-relative }}/python-env-tools
438
+ persist-credentials : false
424
439
sparse-checkout : |
425
440
crates
426
441
Cargo.toml
0 commit comments