Skip to content

Commit e0033b3

Browse files
ci: Update actions/checkout to always use v4 (shader-slang#5634)
CI was using a mix of version 3 and 4. Version 3 results in a warning within the GitHub Actions UI as it was using a version of NodeJS that is deprecated within the GitHub Actions infrastructure.
1 parent fdf061e commit e0033b3

8 files changed

+12
-12
lines changed

.github/workflows/benchmark.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build:
2424
runs-on: [Windows, self-hosted]
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
submodules: "recursive"
2929
fetch-depth: "0"
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
4141
cmake --workflow --preset release
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343
with:
4444
repository: "shader-slang/MDL-SDK"
4545
path: "external/MDL-SDK"

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
shell: bash
8686

8787
steps:
88-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
8989
with:
9090
submodules: "recursive"
9191
fetch-depth: "0"

.github/workflows/compile-regression-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run:
4141
shell: bash
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
with:
4545
submodules: "recursive"
4646
fetch-depth: "0"

.github/workflows/falcor-compiler-perf-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run:
4343
shell: bash
4444
steps:
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646
with:
4747
submodules: "recursive"
4848
fetch-depth: "0"

.github/workflows/falcor-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run:
4141
shell: bash
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
with:
4545
submodules: "recursive"
4646
fetch-depth: "0"

.github/workflows/push-benchmark-results.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
runs-on: [Windows, benchmark, self-hosted]
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
submodules: "true"
2222
fetch-depth: "0"
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
3434
cmake --workflow --preset release
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
repository: "shader-slang/MDL-SDK"
3838
path: "external/MDL-SDK"
@@ -42,7 +42,7 @@ jobs:
4242
cp ../../external/MDL-SDK/examples/mdl_sdk/dxr/content/slangified/*.slang .
4343
pip install prettytable argparse
4444
python compile.py --samples 16 --target dxil
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646
with:
4747
repository: "shader-slang/slang-material-modules-benchmark"
4848
path: "external/slang-material-modules-benchmark"

.github/workflows/release-linux-glibc-2-17.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
submodules: "recursive"
1414
fetch-depth: "0"

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
shell: bash
4141

4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
with:
4545
submodules: "recursive"
4646
fetch-depth: "0"
@@ -197,7 +197,7 @@ jobs:
197197

198198
- name: Checkout stdlib reference
199199
if: matrix.os == 'windows' && matrix.platform == 'x86_64'
200-
uses: actions/checkout@v3
200+
uses: actions/checkout@v4
201201
with:
202202
repository: shader-slang/stdlib-reference
203203
path: docs/stdlib-reference/

0 commit comments

Comments
 (0)