From 2f0e354554dde88bb7b3523a38bfde68f3f32417 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 25 Oct 2024 12:06:40 -0400 Subject: [PATCH] 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 --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11de901a..17eb7a4e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -326,9 +326,11 @@ jobs: run: cargo verify-project - name: Run cargo audit + if: ${{ !env.ACT }} run: cargo audit - name: Run cargo outdated + if: ${{ !env.ACT }} run: cargo outdated --root-deps-only --exit-code 1 - name: Validate Envoy config @@ -397,9 +399,11 @@ jobs: run: cargo verify-project - name: Run cargo audit + if: ${{ !env.ACT }} run: cargo audit - name: Run cargo outdated + if: ${{ !env.ACT }} run: cargo outdated --root-deps-only --exit-code 1 - name: Rename .wasm to match expected filename