Skip to content

Commit

Permalink
Skip audit and outdated checks in examples when testing locally. (#280)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
PiotrSikora authored Oct 27, 2024
1 parent abc45a3 commit 36623cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,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
Expand Down Expand Up @@ -397,10 +399,12 @@ jobs:

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

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

- name: Rename .wasm to match expected filename
Expand Down

0 comments on commit 36623cd

Please sign in to comment.