Skip to content

Commit b98f150

Browse files
authored
CI: Update version of checkout to suppress warnings (#3093)
1 parent 83c3ef0 commit b98f150

19 files changed

+61
-61
lines changed

.github/workflows/build_docker_images.yml

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

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Build and save Docker image(wasm-debug-server:${{ inputs.ver_num }}) to tar file
2727
run: |

.github/workflows/build_iwasm_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
build:
3636
runs-on: ${{ inputs.runner }}
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: get cached LLVM libraries
4141
id: retrieve_llvm_libs
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: |
4545
./core/deps/llvm/build/bin

.github/workflows/build_llvm_libraries.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: checkout
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: install dependencies
3737
run: /usr/bin/env python3 -m pip install -r requirements.txt
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Cache LLVM libraries
5454
id: retrieve_llvm_libs
55-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5656
with:
5757
path: |
5858
./core/deps/llvm/build/bin
@@ -62,15 +62,15 @@ jobs:
6262
./core/deps/llvm/build/share
6363
key: ${{ steps.create_lib_cache_key.outputs.key}}
6464

65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
with:
6767
path: ~/.ccache
6868
key: 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}
6969
restore-keys: |
7070
0-ccache-${{ inputs.os }}
7171
if: steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'ubuntu-20.04'
7272

73-
- uses: actions/cache@v3
73+
- uses: actions/cache@v4
7474
with:
7575
path: ~/.cache/ccache
7676
key: 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}
@@ -82,7 +82,7 @@ jobs:
8282
- run: sudo apt install -y ccache ninja-build
8383
if: steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && startsWith(inputs.os, 'ubuntu') && inputs.container_image == ''
8484

85-
- uses: actions/cache@v3
85+
- uses: actions/cache@v4
8686
with:
8787
path: ~/Library/Caches/ccache
8888
key: 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}

.github/workflows/build_wamr_lldb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
PYTHON_UBUNTU_STANDALONE_BUILD: https://github.com/indygreg/python-build-standalone/releases/download/20230507/cpython-3.10.11+20230507-x86_64-unknown-linux-gnu-install_only.tar.gz
4848
PYTHON_MACOS_STANDALONE_BUILD: https://github.com/indygreg/python-build-standalone/releases/download/20230507/cpython-3.10.11+20230507-x86_64-apple-darwin-install_only.tar.gz
4949
steps:
50-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
5151

5252
- name: download and install wasi-sdk
5353
run: |
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Cache build
6262
id: lldb_build_cache
63-
uses: actions/cache@v3
63+
uses: actions/cache@v4
6464
with:
6565
path: |
6666
./core/deps/llvm-project/build/bin

.github/workflows/build_wamr_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
build:
3636
runs-on: ${{ inputs.runner }}
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: download and install wasi-sdk
4141
run: |

.github/workflows/build_wamr_vscode_ext.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
build:
1919
runs-on: ubuntu-22.04
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Use Node.js 16.x
2424
uses: actions/setup-node@v3

.github/workflows/build_wamrc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
build:
3636
runs-on: ${{ inputs.runner }}
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: get cached LLVM libraries
4141
id: retrieve_llvm_libs
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: |
4545
./core/deps/llvm/build/bin

.github/workflows/coding_guidelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-20.04
2020
steps:
2121
- name: checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525

.github/workflows/compilation_on_android_ubuntu.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ jobs:
8585
llvm_cache_key: ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
8686
steps:
8787
- name: checkout
88-
uses: actions/checkout@v3
88+
uses: actions/checkout@v4
8989

9090
# since jobs.id can't contain the dot character
9191
# it is hard to use `format` to assemble the cache key
9292
- name: Get LLVM libraries
9393
id: retrieve_llvm_libs
94-
uses: actions/cache@v3
94+
uses: actions/cache@v4
9595
with:
9696
path: |
9797
./core/deps/llvm/build/bin
@@ -214,13 +214,13 @@ jobs:
214214
llvm_cache_key: ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
215215
steps:
216216
- name: checkout
217-
uses: actions/checkout@v3
217+
uses: actions/checkout@v4
218218

219219
# only download llvm cache when needed
220220
- name: Get LLVM libraries
221221
id: retrieve_llvm_libs
222222
if: endsWith(matrix.make_options_run_mode, '_JIT_BUILD_OPTIONS')
223-
uses: actions/cache@v3
223+
uses: actions/cache@v4
224224
with:
225225
path: |
226226
./core/deps/llvm/build/bin
@@ -285,12 +285,12 @@ jobs:
285285

286286
steps:
287287
- name: checkout
288-
uses: actions/checkout@v3
288+
uses: actions/checkout@v4
289289

290290
- name: Get LLVM libraries
291291
id: retrieve_llvm_libs
292292
if: (!endsWith(matrix.make_options, '_INTERP_BUILD_OPTIONS'))
293-
uses: actions/cache@v3
293+
uses: actions/cache@v4
294294
with:
295295
path: |
296296
./core/deps/llvm/build/bin
@@ -351,7 +351,7 @@ jobs:
351351
llvm_cache_key: ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
352352
steps:
353353
- name: checkout
354-
uses: actions/checkout@v3
354+
uses: actions/checkout@v4
355355

356356
- name: download and install wasi-sdk
357357
run: |
@@ -368,7 +368,7 @@ jobs:
368368
sudo mv wabt-1.0.31 wabt
369369
- name: Get LLVM libraries
370370
id: retrieve_llvm_libs
371-
uses: actions/cache@v3
371+
uses: actions/cache@v4
372372
with:
373373
path: |
374374
./core/deps/llvm/build/bin
@@ -520,7 +520,7 @@ jobs:
520520
test_option: $SIMD_TEST_OPTIONS
521521
steps:
522522
- name: checkout
523-
uses: actions/checkout@v3
523+
uses: actions/checkout@v4
524524

525525
- name: download and install wasi-sdk
526526
if: matrix.test_option == '$WASI_TEST_OPTIONS'
@@ -555,7 +555,7 @@ jobs:
555555
- name: Get LLVM libraries
556556
if: env.USE_LLVM == 'true'
557557
id: retrieve_llvm_libs
558-
uses: actions/cache@v3
558+
uses: actions/cache@v4
559559
with:
560560
path: |
561561
./core/deps/llvm/build/bin
@@ -617,7 +617,7 @@ jobs:
617617

618618
steps:
619619
- name: checkout
620-
uses: actions/checkout@v3
620+
uses: actions/checkout@v4
621621

622622
- name: install dependencies
623623
run: |
@@ -636,7 +636,7 @@ jobs:
636636

637637
- name: Cache LLDB
638638
id: cache-lldb
639-
uses: actions/cache@v3
639+
uses: actions/cache@v4
640640
env:
641641
cache-name: cache-lldb-vscode
642642
with:

.github/workflows/compilation_on_macos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ jobs:
7171
llvm_cache_key: ${{ needs.build_llvm_libraries.outputs.cache_key }}
7272
steps:
7373
- name: checkout
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575

7676
- name: Get LLVM libraries
7777
id: retrieve_llvm_libs
78-
uses: actions/cache@v3
78+
uses: actions/cache@v4
7979
with:
8080
path: |
8181
./core/deps/llvm/build/bin
@@ -174,13 +174,13 @@ jobs:
174174
llvm_cache_key: ${{ needs.build_llvm_libraries.outputs.cache_key }}
175175
steps:
176176
- name: checkout
177-
uses: actions/checkout@v3
177+
uses: actions/checkout@v4
178178

179179
# only download llvm cache when needed
180180
- name: Get LLVM libraries
181181
id: retrieve_llvm_libs
182182
if: endsWith(matrix.make_options_run_mode, '_JIT_BUILD_OPTIONS')
183-
uses: actions/cache@v3
183+
uses: actions/cache@v4
184184
with:
185185
path: |
186186
./core/deps/llvm/build/bin
@@ -226,7 +226,7 @@ jobs:
226226
]
227227
steps:
228228
- name: checkout
229-
uses: actions/checkout@v3
229+
uses: actions/checkout@v4
230230

231231
- name: download and install wabt
232232
run: |
@@ -258,7 +258,7 @@ jobs:
258258
]
259259
steps:
260260
- name: checkout
261-
uses: actions/checkout@v3
261+
uses: actions/checkout@v4
262262

263263
- name: download and install wasi-sdk
264264
run: |

0 commit comments

Comments
 (0)