Skip to content

Commit ea153ee

Browse files
svenvhsys-ce-bb
authored andcommitted
Upgrade to actions/checkout@v5 (#3369)
Node.js 20 actions will be deprecated soon, so update to v5 which uses Node 24. Original commit: KhronosGroup/SPIRV-LLVM-Translator@30a0cc7bb993f41
1 parent c5301a7 commit ea153ee

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

llvm-spirv/.github/workflows/backport-to-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0
2525

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-22.04
4848
steps:
4949
- name: Checkout sources
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v5
5151
with:
5252
# In order to gather diff from PR we need to fetch not only the latest
5353
# 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
@@ -79,21 +79,21 @@ jobs:
7979
# pre-installed. Make sure to override these with the relevant version.
8080
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
8181
- name: Checkout LLVM sources
82-
uses: actions/checkout@v4
82+
uses: actions/checkout@v5
8383
with:
8484
repository: llvm/llvm-project
8585
ref: main
8686
path: llvm-project
8787
- name: Checkout the translator sources
88-
uses: actions/checkout@v4
88+
uses: actions/checkout@v5
8989
with:
9090
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
9191
- name: Get tag for SPIR-V Headers
9292
id: spirv-headers-tag
9393
run: |
9494
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
9595
- name: Checkout SPIR-V Headers
96-
uses: actions/checkout@v4
96+
uses: actions/checkout@v5
9797
with:
9898
repository: KhronosGroup/SPIRV-Headers
9999
ref: ${{ env.spirv_headers_tag }}
@@ -134,21 +134,21 @@ jobs:
134134
runs-on: windows-latest
135135
steps:
136136
- name: Checkout LLVM sources
137-
uses: actions/checkout@v4
137+
uses: actions/checkout@v5
138138
with:
139139
repository: llvm/llvm-project
140140
ref: main
141141
path: llvm-project
142142
- name: Checkout the translator sources
143-
uses: actions/checkout@v4
143+
uses: actions/checkout@v5
144144
with:
145145
path: llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator
146146
- name: Get tag for SPIR-V Headers
147147
id: spirv-headers-tag
148148
run: |
149149
echo "spirv_headers_tag=$(type llvm-project\\llvm\\projects\\SPIRV-LLVM-Translator\\spirv-headers-tag.conf)" >> $GITHUB_ENV
150150
- name: Checkout SPIR-V Headers
151-
uses: actions/checkout@v4
151+
uses: actions/checkout@v5
152152
with:
153153
repository: KhronosGroup/SPIRV-Headers
154154
ref: ${{ env.spirv_headers_tag }}
@@ -186,21 +186,21 @@ jobs:
186186
continue-on-error: true
187187
steps:
188188
- name: Checkout LLVM sources
189-
uses: actions/checkout@v4
189+
uses: actions/checkout@v5
190190
with:
191191
repository: llvm/llvm-project
192192
ref: main
193193
path: llvm-project
194194
- name: Checkout the translator sources
195-
uses: actions/checkout@v4
195+
uses: actions/checkout@v5
196196
with:
197197
path: llvm-project/llvm/projects/SPIRV-LLVM-Translator
198198
- name: Get tag for SPIR-V Headers
199199
id: spirv-headers-tag
200200
run: |
201201
echo "spirv_headers_tag=$(cat llvm-project/llvm/projects/SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
202202
- name: Checkout SPIR-V Headers
203-
uses: actions/checkout@v4
203+
uses: actions/checkout@v5
204204
with:
205205
repository: KhronosGroup/SPIRV-Headers
206206
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
@@ -78,15 +78,15 @@ jobs:
7878
# pre-installed. Make sure to override these with the relevant version.
7979
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.LLVM_VERSION }} 1000
8080
- name: Checkout the translator sources
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v5
8282
with:
8383
path: SPIRV-LLVM-Translator
8484
- name: Get tag for SPIR-V Headers
8585
id: spirv-headers-tag
8686
run: |
8787
echo "spirv_headers_tag=$(cat SPIRV-LLVM-Translator/spirv-headers-tag.conf)" >> $GITHUB_ENV
8888
- name: Checkout SPIR-V Headers
89-
uses: actions/checkout@v4
89+
uses: actions/checkout@v5
9090
with:
9191
repository: KhronosGroup/SPIRV-Headers
9292
ref: ${{ env.spirv_headers_tag }}

llvm-spirv/.github/workflows/patch-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
branches_json: ${{steps.release_branches.outputs.branches_json}}
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0
2020
- name: Get latest llvm_release branch
@@ -43,7 +43,7 @@ jobs:
4343
matrix: ${{fromJson(needs.setup.outputs.branches_json)}}
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747
with:
4848
ref: ${{ matrix.branch }}
4949
fetch-depth: 0

0 commit comments

Comments
 (0)