Skip to content

Commit

Permalink
[CI] Upgrade to actions/checkout@v4 (#2438)
Browse files Browse the repository at this point in the history
Node.js 16 actions are deprecated, so update to v4 which uses Node 20.
  • Loading branch information
svenvh authored Mar 19, 2024
1 parent 5f965be commit 41dc967
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# In order to gather diff from PR we need to fetch not only the latest
# commit. Depth of 2 is enough, because GitHub Actions supply us with
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/check-in-tree-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ jobs:
# pre-installed. Make sure to override these with the relevant version.
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
- name: Checkout LLVM sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: llvm/llvm-project
ref: main
path: llvm-project
- name: Checkout the translator sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
- name: Get tag for SPIR-V Headers
id: spirv-headers-tag
run: |
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
- name: Checkout SPIR-V Headers
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: KhronosGroup/SPIRV-Headers
ref: ${{ env.spirv_headers_tag }}
Expand Down Expand Up @@ -116,21 +116,21 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout LLVM sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: llvm/llvm-project
ref: main
path: llvm-project
- name: Checkout the translator sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator
- name: Get tag for SPIR-V Headers
id: spirv-headers-tag
run: |
echo "spirv_headers_tag=$(type llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator\\spirv-headers-tag.conf)" >> $GITHUB_ENV
- name: Checkout SPIR-V Headers
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: KhronosGroup/SPIRV-Headers
ref: ${{ env.spirv_headers_tag }}
Expand Down Expand Up @@ -168,21 +168,21 @@ jobs:
continue-on-error: true
steps:
- name: Checkout LLVM sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: llvm/llvm-project
ref: main
path: llvm-project
- name: Checkout the translator sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
- name: Get tag for SPIR-V Headers
id: spirv-headers-tag
run: |
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
- name: Checkout SPIR-V Headers
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: KhronosGroup/SPIRV-Headers
ref: ${{ env.spirv_headers_tag }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-out-of-tree-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
# pre-installed. Make sure to override these with the relevant version.
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
- name: Checkout the translator sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: SPIRV-LLVM-Translator
- name: Get tag for SPIR-V Headers
id: spirv-headers-tag
run: |
echo "spirv_headers_tag=$(cat SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
- name: Checkout SPIR-V Headers
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: KhronosGroup/SPIRV-Headers
ref: ${{ env.spirv_headers_tag }}
Expand Down

0 comments on commit 41dc967

Please sign in to comment.