Skip to content

Commit

Permalink
ci: Update actions/checkout to always use v4 (#5634)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
waywardmonkeys authored Nov 22, 2024
1 parent fdf061e commit e0033b3
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build:
runs-on: [Windows, self-hosted]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand All @@ -39,7 +39,7 @@ jobs:
run: |
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
cmake --workflow --preset release
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: "shader-slang/MDL-SDK"
path: "external/MDL-SDK"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/falcor-compiler-perf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/falcor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-benchmark-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build:
runs-on: [Windows, benchmark, self-hosted]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "true"
fetch-depth: "0"
Expand All @@ -32,7 +32,7 @@ jobs:
run: |
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
cmake --workflow --preset release
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: "shader-slang/MDL-SDK"
path: "external/MDL-SDK"
Expand All @@ -42,7 +42,7 @@ jobs:
cp ../../external/MDL-SDK/examples/mdl_sdk/dxr/content/slangified/*.slang .
pip install prettytable argparse
python compile.py --samples 16 --target dxil
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: "shader-slang/slang-material-modules-benchmark"
path: "external/slang-material-modules-benchmark"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-linux-glibc-2-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: "0"
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:

- name: Checkout stdlib reference
if: matrix.os == 'windows' && matrix.platform == 'x86_64'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: shader-slang/stdlib-reference
path: docs/stdlib-reference/
Expand Down

0 comments on commit e0033b3

Please sign in to comment.