Skip to content

Commit 8a02bce

Browse files
authored
Update node.js and enable pr ci (#1587)
1 parent 2872b90 commit 8a02bce

3 files changed

Lines changed: 18 additions & 20 deletions

File tree

.github/actions/setup-uv-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ runs:
7373
# download.
7474
- name: Restore uv download cache
7575
id: restore-uv-cache
76-
uses: actions/cache/restore@v4
76+
uses: actions/cache/restore@v5
7777
with:
7878
path: ~/.cache/uv
7979
key: ${{ inputs.uv-cache-key-prefix }}-${{ inputs.uv-cache-key-suffix }}

.github/workflows/github-nightly-uv.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
image: nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
119119

120120
steps:
121-
- uses: actions/checkout@v4
121+
- uses: actions/checkout@v5
122122

123123
- name: Bootstrap cuDNN CI container
124124
uses: ./.github/actions/bootstrap-cudnn-ci
@@ -188,7 +188,7 @@ jobs:
188188
189189
- name: Save uv download cache
190190
if: steps.setup-uv-env.outputs.uv_cache_hit != 'true'
191-
uses: actions/cache/save@v4
191+
uses: actions/cache/save@v5
192192
with:
193193
path: ~/.cache/uv
194194
key: ${{ env.UV_CACHE_KEY_PREFIX }}-latest
@@ -229,7 +229,7 @@ jobs:
229229
image: nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
230230

231231
steps:
232-
- uses: actions/checkout@v4
232+
- uses: actions/checkout@v5
233233

234234
- name: Bootstrap cuDNN CI container
235235
uses: ./.github/actions/bootstrap-cudnn-ci
@@ -255,7 +255,7 @@ jobs:
255255
uv run --no-sync python -m pytest --testmon --ignore-glob="*docs*" --ignore-glob="*examples*"
256256
257257
- name: Save testmon database to cache
258-
uses: actions/cache/save@v4
258+
uses: actions/cache/save@v5
259259
with:
260260
path: |
261261
.testmondata
@@ -272,7 +272,7 @@ jobs:
272272
image: nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
273273

274274
steps:
275-
- uses: actions/checkout@v4
275+
- uses: actions/checkout@v5
276276

277277
- name: Bootstrap cuDNN CI container
278278
uses: ./.github/actions/bootstrap-cudnn-ci
@@ -311,7 +311,7 @@ jobs:
311311
path: coverage-doctest-report.xml
312312

313313
- name: Save coverage files to cache
314-
uses: actions/cache/save@v4
314+
uses: actions/cache/save@v5
315315
with:
316316
path: .coverage*
317317
key: ${{ env.COVERAGE_CACHE_KEY_PREFIX }}-${{ hashFiles('uv.lock', 'pyproject.toml') }}
@@ -348,23 +348,23 @@ jobs:
348348
runs-on: ubuntu-latest
349349

350350
steps:
351-
- uses: actions/checkout@v4
351+
- uses: actions/checkout@v5
352352

353353
- name: Download JUnit artifacts
354354
uses: actions/download-artifact@v4
355355
with:
356356
pattern: junit-*
357357

358358
- name: Core test report
359-
uses: dorny/test-reporter@v2
359+
uses: dorny/test-reporter@v3
360360
with:
361361
name: Core Test Results
362362
path: junit-coverage-core/coverage-core-report.xml
363363
reporter: java-junit
364364
fail-on-error: 'false'
365365

366366
- name: Doctest report
367-
uses: dorny/test-reporter@v2
367+
uses: dorny/test-reporter@v3
368368
with:
369369
name: Doctest Results
370370
path: junit-coverage-doctest/coverage-doctest-report.xml

.github/workflows/github-pr.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@
3737
name: Pull Request Github CI
3838
on:
3939
workflow_dispatch:
40-
# Manual-only while testing the UV pipeline.
41-
# To gate PRs on this workflow, re-add the push trigger:
42-
# push:
43-
# branches:
44-
# - "pull-request/[0-9]+"
40+
push:
41+
branches:
42+
- "pull-request/[0-9]+"
4543

4644
permissions:
4745
contents: read
@@ -87,7 +85,7 @@ jobs:
8785
image: nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
8886

8987
steps:
90-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v5
9189

9290
- name: Bootstrap cuDNN CI container
9391
uses: ./.github/actions/bootstrap-cudnn-ci
@@ -109,7 +107,7 @@ jobs:
109107
# handles stale DBs gracefully by re-running tests whose dependency
110108
# hashes differ).
111109
- name: Restore testmon database from nightly cache
112-
uses: actions/cache/restore@v4
110+
uses: actions/cache/restore@v5
113111
with:
114112
path: |
115113
.testmondata
@@ -131,7 +129,7 @@ jobs:
131129
image: nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
132130

133131
steps:
134-
- uses: actions/checkout@v4
132+
- uses: actions/checkout@v5
135133

136134
- name: Bootstrap cuDNN CI container
137135
uses: ./.github/actions/bootstrap-cudnn-ci
@@ -147,7 +145,7 @@ jobs:
147145
extras: ${{ env.EXTRAS_TAG }}
148146

149147
- name: Restore testmon database from nightly cache
150-
uses: actions/cache/restore@v4
148+
uses: actions/cache/restore@v5
151149
with:
152150
path: |
153151
.testmondata
@@ -159,7 +157,7 @@ jobs:
159157
160158
- name: Restore nightly coverage baseline from cache
161159
id: cache-coverage-restore
162-
uses: actions/cache/restore@v4
160+
uses: actions/cache/restore@v5
163161
with:
164162
path: .coverage*
165163
key: ${{ env.COVERAGE_CACHE_KEY_PREFIX }}-${{ hashFiles('uv.lock', 'pyproject.toml') }}

0 commit comments

Comments
 (0)