Skip to content

Commit 2c36309

Browse files
committed
Update action versions, clean shell
1 parent f279c3b commit 2c36309

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/job.test.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
lab: ['>=3.3.0,<4.0.0a0']
4848
r: ['>=4']
4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v3
5151

5252
- uses: cschleiden/replace-tokens@v1
5353
with:
@@ -158,7 +158,6 @@ jobs:
158158
miniforge-variant: Mambaforge
159159

160160
- name: Install minimal build deps
161-
shell: bash -l {0}
162161
run: mamba install -n test -c conda-forge setuptools wheel 'jupyterlab${{ matrix.lab }}' 'nodejs${{ matrix.nodejs }}'
163162

164163
- name: Cache node_modules
@@ -210,7 +209,7 @@ jobs:
210209
sha256sum * | tee SHA256SUMS
211210
212211
- name: Publish builds
213-
uses: actions/upload-artifact@v2
212+
uses: actions/upload-artifact@v3
214213
with:
215214
name: jupyterlab-lsp dist ${{ github.run_number }}
216215
path: ./dist
@@ -239,7 +238,7 @@ jobs:
239238
lab: '>=3.4.0,<4'
240239

241240
steps:
242-
- uses: actions/checkout@v2
241+
- uses: actions/checkout@v3
243242

244243
- name: Set JupyterLab and Node versions
245244
uses: cschleiden/replace-tokens@v1
@@ -297,7 +296,7 @@ jobs:
297296
key: |
298297
${{ env.CACHE_EPOCH }}-julia-test-${{ runner.os }}-${{ env.JULIA_LANGSERVER }}
299298
300-
- uses: actions/download-artifact@v2
299+
- uses: actions/download-artifact@v3
301300
with:
302301
name: jupyterlab-lsp dist ${{ github.run_number }}
303302
path: ./dist
@@ -395,11 +394,11 @@ jobs:
395394
py_cmd: python
396395
steps:
397396
- name: Install Python
398-
uses: actions/setup-python@v2
397+
uses: actions/setup-python@v4
399398
with:
400399
python-version: ${{ matrix.python }}
401400
architecture: 'x64'
402-
- uses: actions/download-artifact@v2
401+
- uses: actions/download-artifact@v3
403402
with:
404403
name: jupyterlab-lsp dist ${{ github.run_number }}
405404
path: ./dist
@@ -437,25 +436,23 @@ jobs:
437436
lab: '>=3.3,<4'
438437
steps:
439438
- name: Install Python
440-
uses: actions/setup-python@v2
439+
uses: actions/setup-python@v4
441440
with:
442441
python-version: ${{ matrix.python }}
443442
architecture: 'x64'
444443
- name: Setup Node
445-
uses: actions/setup-node@v2
444+
uses: actions/setup-node@v3
446445
with:
447446
node-version: ${{ matrix.nodejs }}
448-
- uses: actions/download-artifact@v2
447+
- uses: actions/download-artifact@v3
449448
with:
450449
name: jupyterlab-lsp dist ${{ github.run_number }}
451450
path: ./dist
452451
- name: Install the prerequisites
453452
run: python -m pip install --upgrade pip wheel setuptools
454453
- name: Install JupyterLab
455-
shell: bash -l {0}
456454
run: python -m pip install 'jupyterlab${{ matrix.lab }}'
457455
- name: Install Notebook (to test serverextension)
458-
shell: bash -l {0}
459456
run: python -m pip install 'notebook'
460457
- name: Install the server package
461458
run: cd dist && python -m pip install -vv jupyter_lsp*.whl

0 commit comments

Comments
 (0)