Skip to content

Commit 2f0e354

Browse files
committed
Skip audit and outdated checks for examples when testing locally.
Building those tools takes significant amount of time and resources, and it doesn't provide much value for examples. Signed-off-by: Piotr Sikora <[email protected]>
1 parent 3f4274e commit 2f0e354

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
@@ -397,9 +399,11 @@ jobs:
397399
run: cargo verify-project
398400

399401
- name: Run cargo audit
402+
if: ${{ !env.ACT }}
400403
run: cargo audit
401404

402405
- name: Run cargo outdated
406+
if: ${{ !env.ACT }}
403407
run: cargo outdated --root-deps-only --exit-code 1
404408

405409
- name: Rename .wasm to match expected filename

0 commit comments

Comments
 (0)