Skip to content

Commit c32fe9c

Browse files
authored
Merge pull request #1905 from Smit-create/ci_warn1
Fix GH Action warnings
2 parents 5a97ed0 + a0a583e commit c32fe9c

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,19 @@ jobs:
117117
name: Build LPython to WASM
118118
runs-on: "ubuntu-latest"
119119
steps:
120-
- uses: actions/checkout@v2
120+
- uses: actions/checkout@v3
121121
with:
122122
fetch-depth: 0
123123

124-
- uses: mamba-org/provision-with-micromamba@main
124+
- uses: mamba-org/setup-micromamba@v1
125125
with:
126126
environment-file: ci/environment.yml
127-
extra-specs: |
127+
create-args: >-
128128
python=3.10
129129
bison=3.4
130130
131131
- uses: hendrikmuhs/ccache-action@main
132132
with:
133-
variant: sccache
134133
key: ${{ github.job }}-${{ matrix.os }}
135134

136135
- name : Remove existing node
@@ -193,15 +192,14 @@ jobs:
193192
with:
194193
fetch-depth: 0
195194

196-
- uses: mamba-org/provision-with-micromamba@v15
195+
- uses: mamba-org/setup-micromamba@v1
197196
with:
198197
environment-file: ci/environment.yml
199-
extra-specs: |
198+
create-args: >-
200199
bison=3.4
201200
202201
- uses: hendrikmuhs/ccache-action@main
203202
with:
204-
variant: sccache
205203
key: ${{ github.job }}-${{ matrix.os }}
206204

207205
- name: Setup Platform (Linux)
@@ -211,6 +209,8 @@ jobs:
211209
echo "WIN=0" >> $GITHUB_ENV
212210
echo "MACOS=0" >> $GITHUB_ENV
213211
echo "ENABLE_RUNTIME_STACKTRACE=yes" >> $GITHUB_ENV
212+
echo "CMAKE_C_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
213+
echo "CMAKE_CXX_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
214214
215215
- name: Build Linux
216216
shell: bash -l {0}
@@ -254,16 +254,15 @@ jobs:
254254
with:
255255
fetch-depth: 0
256256

257-
- uses: mamba-org/provision-with-micromamba@v16
257+
- uses: mamba-org/setup-micromamba@v1
258258
with:
259259
environment-file: ci/environment.yml
260-
extra-specs: |
260+
create-args: >-
261261
python=3.10
262262
bison=3.4
263263
264264
- uses: hendrikmuhs/ccache-action@main
265265
with:
266-
variant: sccache
267266
key: ${{ github.job }}-${{ matrix.os }}
268267

269268
- name: Build Linux
@@ -278,8 +277,8 @@ jobs:
278277
-DWITH_RUNTIME_STACKTRACE=yes \
279278
-DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
280279
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
281-
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
282-
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
280+
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
281+
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
283282
284283
cmake --build . -j16 --target install
285284

0 commit comments

Comments
 (0)