Skip to content

Commit 36623cd

Browse files
authored
Skip audit and outdated checks in examples when testing locally. (#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 <code@piotrsikora.dev>
1 parent abc45a3 commit 36623cd

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
@@ -325,9 +325,11 @@ jobs:
325325
run: cargo verify-project
326326

327327
- name: Run cargo audit
328+
if: ${{ !env.ACT }}
328329
run: cargo audit
329330

330331
- name: Run cargo outdated
332+
if: ${{ !env.ACT }}
331333
run: cargo outdated --root-deps-only --exit-code 1
332334

333335
- name: Validate Envoy config
@@ -397,10 +399,12 @@ jobs:
397399

398400
# TODO: Re-enable once cargo audit supports Cargo lockfile v4.
399401
#- name: Run cargo audit
402+
# if: ${{ !env.ACT }}
400403
# run: cargo audit
401404

402405
# TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
403406
#- name: Run cargo outdated
407+
# if: ${{ !env.ACT }}
404408
# run: cargo outdated --root-deps-only --exit-code 1
405409

406410
- name: Rename .wasm to match expected filename

0 commit comments

Comments
 (0)