Skip to content

Commit 34f9843

Browse files
svenvhsys-ce-bb
authored andcommitted
Upgrade to actions/checkout@v4 (#2438)
Node.js 16 actions are deprecated, so update to v4 which uses Node 20. Original commit: KhronosGroup/SPIRV-LLVM-Translator@41dc96708bf1937
1 parent c444357 commit 34f9843

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

llvm-spirv/.github/workflows/check-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-20.04
3333
steps:
3434
- name: Checkout sources
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
with:
3737
# In order to gather diff from PR we need to fetch not only the latest
3838
# commit. Depth of 2 is enough, because GitHub Actions supply us with

llvm-spirv/.github/workflows/check-in-tree-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,21 @@ jobs:
6161
# pre-installed. Make sure to override these with the relevant version.
6262
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
6363
- name: Checkout LLVM sources
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
repository: llvm/llvm-project
6767
ref: main
6868
path: llvm-project
6969
- name: Checkout the translator sources
70-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7171
with:
7272
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
7373
- name: Get tag for SPIR-V Headers
7474
id: spirv-headers-tag
7575
run: |
7676
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
7777
- name: Checkout SPIR-V Headers
78-
uses: actions/checkout@v3
78+
uses: actions/checkout@v4
7979
with:
8080
repository: KhronosGroup/SPIRV-Headers
8181
ref: ${{ env.spirv_headers_tag }}
@@ -116,21 +116,21 @@ jobs:
116116
runs-on: windows-latest
117117
steps:
118118
- name: Checkout LLVM sources
119-
uses: actions/checkout@v3
119+
uses: actions/checkout@v4
120120
with:
121121
repository: llvm/llvm-project
122122
ref: main
123123
path: llvm-project
124124
- name: Checkout the translator sources
125-
uses: actions/checkout@v3
125+
uses: actions/checkout@v4
126126
with:
127127
path: llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator
128128
- name: Get tag for SPIR-V Headers
129129
id: spirv-headers-tag
130130
run: |
131131
echo "spirv_headers_tag=$(type llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator\\spirv-headers-tag.conf)" >> $GITHUB_ENV
132132
- name: Checkout SPIR-V Headers
133-
uses: actions/checkout@v3
133+
uses: actions/checkout@v4
134134
with:
135135
repository: KhronosGroup/SPIRV-Headers
136136
ref: ${{ env.spirv_headers_tag }}
@@ -168,21 +168,21 @@ jobs:
168168
continue-on-error: true
169169
steps:
170170
- name: Checkout LLVM sources
171-
uses: actions/checkout@v3
171+
uses: actions/checkout@v4
172172
with:
173173
repository: llvm/llvm-project
174174
ref: main
175175
path: llvm-project
176176
- name: Checkout the translator sources
177-
uses: actions/checkout@v3
177+
uses: actions/checkout@v4
178178
with:
179179
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
180180
- name: Get tag for SPIR-V Headers
181181
id: spirv-headers-tag
182182
run: |
183183
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
184184
- name: Checkout SPIR-V Headers
185-
uses: actions/checkout@v3
185+
uses: actions/checkout@v4
186186
with:
187187
repository: KhronosGroup/SPIRV-Headers
188188
ref: ${{ env.spirv_headers_tag }}

llvm-spirv/.github/workflows/check-out-of-tree-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
# pre-installed. Make sure to override these with the relevant version.
5959
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
6060
- name: Checkout the translator sources
61-
uses: actions/checkout@v3
61+
uses: actions/checkout@v4
6262
with:
6363
path: SPIRV-LLVM-Translator
6464
- name: Get tag for SPIR-V Headers
6565
id: spirv-headers-tag
6666
run: |
6767
echo "spirv_headers_tag=$(cat SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
6868
- name: Checkout SPIR-V Headers
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
with:
7171
repository: KhronosGroup/SPIRV-Headers
7272
ref: ${{ env.spirv_headers_tag }}

0 commit comments

Comments
 (0)