Skip to content

Commit 3bccd94

Browse files
PiotrSikoraSwaagie
authored andcommitted
Skip audit and outdated checks in examples when testing locally. (proxy-wasm#280)
Building those tools takes significant amount of time and resources, and it doesn't provide too much value in examples. Signed-off-by: Piotr Sikora <[email protected]>
1 parent 5053f3b commit 3bccd94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,11 @@ jobs:
326326
run: cargo verify-project
327327

328328
- name: Run cargo audit
329+
if: ${{ !env.ACT }}
329330
run: cargo audit
330331

331332
- name: Run cargo outdated
333+
if: ${{ !env.ACT }}
332334
run: cargo outdated --root-deps-only --exit-code 1
333335

334336
- name: Validate Envoy config
@@ -399,10 +401,12 @@ jobs:
399401

400402
# TODO: Re-enable once cargo audit supports Cargo lockfile v4.
401403
#- name: Run cargo audit
404+
# if: ${{ !env.ACT }}
402405
# run: cargo audit
403406

404407
# TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
405408
#- name: Run cargo outdated
409+
# if: ${{ !env.ACT }}
406410
# run: cargo outdated --root-deps-only --exit-code 1
407411

408412
- name: Rename .wasm to match expected filename

0 commit comments

Comments
 (0)