Skip to content

Commit 4eb17d3

Browse files
committed
CI: Update checkout/cache to supress warnings
1 parent 313ce8c commit 4eb17d3

19 files changed

+62
-62
lines changed

.github/workflows/build_docker_images.yml

+1-1
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

+2-2
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

+5-5
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

+2-2
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

+1-1
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

+1-1
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

+2-2
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

+1-1
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

+12-12
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

+6-6
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: |

.github/workflows/compilation_on_nuttx.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,21 @@ jobs:
8787

8888
steps:
8989
- name: Checkout NuttX
90-
uses: actions/checkout@v3
90+
uses: actions/checkout@v4
9191
with:
9292
repository: apache/incubator-nuttx
9393
ref: releases/12.4
9494
path: nuttx
9595

9696
- name: Checkout NuttX Apps
97-
uses: actions/checkout@v3
97+
uses: actions/checkout@v4
9898
with:
9999
repository: apache/incubator-nuttx-apps
100100
ref: releases/12.4
101101
path: apps
102102

103103
- name: Checkout WAMR
104-
uses: actions/checkout@v3
104+
uses: actions/checkout@v4
105105
with:
106106
repository: ${{ github.repository }}
107107
path: apps/interpreters/wamr/wamr

.github/workflows/compilation_on_sgx.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
source /opt/intel/sgxsdk/environment
120120
121121
- name: checkout
122-
uses: actions/checkout@v3
122+
uses: actions/checkout@v4
123123

124124
- name: Build iwasm
125125
run: |
@@ -165,7 +165,7 @@ jobs:
165165

166166
steps:
167167
- name: checkout
168-
uses: actions/checkout@v3
168+
uses: actions/checkout@v4
169169

170170
- name: download and install wasi-sdk
171171
run: |
@@ -221,7 +221,7 @@ jobs:
221221
- name: Get LLVM libraries
222222
if: matrix.iwasm_make_options_run_mode == '$AOT_BUILD_OPTIONS'
223223
id: retrieve_llvm_libs
224-
uses: actions/cache@v3
224+
uses: actions/cache@v4
225225
with:
226226
path: |
227227
./core/deps/llvm/build/bin
@@ -290,12 +290,12 @@ jobs:
290290

291291
steps:
292292
- name: checkout
293-
uses: actions/checkout@v3
293+
uses: actions/checkout@v4
294294

295295
- name: Get LLVM libraries
296296
if: matrix.running_mode == 'aot'
297297
id: retrieve_llvm_libs
298-
uses: actions/cache@v3
298+
uses: actions/cache@v4
299299
with:
300300
path: |
301301
./core/deps/llvm/build/bin

.github/workflows/compilation_on_windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
"-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1"
7575
]
7676
steps:
77-
- uses: actions/checkout@v3
77+
- uses: actions/checkout@v4
7878

7979
- name: clone uvwasi library
8080
if: ${{ !contains(matrix.build_options, '-DWAMR_BUILD_LIBC_UVWASI=0') }}
@@ -108,7 +108,7 @@ jobs:
108108
]
109109
steps:
110110
- name: checkout
111-
uses: actions/checkout@v3
111+
uses: actions/checkout@v4
112112

113113
- name: download and install wasi-sdk
114114
if: matrix.test_option == '$WASI_TEST_OPTIONS'

.github/workflows/create_tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
new_tag: ${{ steps.preparation.outputs.new_tag }}
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
# Full git history is needed to get a proper list of commits and tags
2929
with:
3030
fetch-depth: 0

.github/workflows/hadolint_dockerfiles.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838

3939
# on default, hadolint will fail on warnings and errors
4040
- name: Run hadolint on dockerfiles

0 commit comments

Comments
 (0)