From e0033b3ba9e416f321efa074e93c7bcc11ba535c Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 22 Nov 2024 12:33:32 +0700 Subject: [PATCH] ci: Update `actions/checkout` to always use v4 (#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. --- .github/workflows/benchmark.yml | 4 ++-- .github/workflows/ci.yml | 2 +- .github/workflows/compile-regression-test.yml | 2 +- .github/workflows/falcor-compiler-perf-test.yml | 2 +- .github/workflows/falcor-test.yml | 2 +- .github/workflows/push-benchmark-results.yml | 6 +++--- .github/workflows/release-linux-glibc-2-17.yml | 2 +- .github/workflows/release.yml | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 245667b460..4feeebe74c 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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" @@ -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" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0491bbdc85..1af14f35d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" fetch-depth: "0" diff --git a/.github/workflows/compile-regression-test.yml b/.github/workflows/compile-regression-test.yml index da5656d7f5..cd9ef236f0 100644 --- a/.github/workflows/compile-regression-test.yml +++ b/.github/workflows/compile-regression-test.yml @@ -40,7 +40,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" fetch-depth: "0" diff --git a/.github/workflows/falcor-compiler-perf-test.yml b/.github/workflows/falcor-compiler-perf-test.yml index 8de8035faf..915d02d47f 100644 --- a/.github/workflows/falcor-compiler-perf-test.yml +++ b/.github/workflows/falcor-compiler-perf-test.yml @@ -42,7 +42,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" fetch-depth: "0" diff --git a/.github/workflows/falcor-test.yml b/.github/workflows/falcor-test.yml index d4fa4f9622..33fe42262b 100644 --- a/.github/workflows/falcor-test.yml +++ b/.github/workflows/falcor-test.yml @@ -40,7 +40,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" fetch-depth: "0" diff --git a/.github/workflows/push-benchmark-results.yml b/.github/workflows/push-benchmark-results.yml index b2c8357687..2c949a15a3 100644 --- a/.github/workflows/push-benchmark-results.yml +++ b/.github/workflows/push-benchmark-results.yml @@ -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" @@ -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" @@ -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" diff --git a/.github/workflows/release-linux-glibc-2-17.yml b/.github/workflows/release-linux-glibc-2-17.yml index 7341e1d924..8d72d1dd29 100644 --- a/.github/workflows/release-linux-glibc-2-17.yml +++ b/.github/workflows/release-linux-glibc-2-17.yml @@ -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" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8945ec8b3..8339bfc795 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: "recursive" fetch-depth: "0" @@ -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/