@@ -312,11 +312,12 @@ jobs:
312
312
./rustup-init.sh -y
313
313
rm rustup-init.sh
314
314
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
315
- export PATH=$PATH:$HOME/.cargo/bin
316
- cargo install cargo-outdated
317
315
318
316
- name : Run cargo outdated
319
- run : cargo outdated --root-deps-only --exit-code 1
317
+ run : |
318
+ # TODO: Switch back to the official version once it supports Cargo lockfile v4.
319
+ cargo install --git https://github.com/MonterraByte/cargo-outdated.git --branch cargo-update
320
+ cargo outdated --root-deps-only --exit-code 1
320
321
321
322
audit :
322
323
runs-on : ubuntu-latest
@@ -420,9 +421,10 @@ jobs:
420
421
if : ${{ !env.ACT }}
421
422
run : cargo audit
422
423
423
- - name : Run cargo outdated
424
- if : ${{ !env.ACT }}
425
- run : cargo outdated --root-deps-only --exit-code 1
424
+ # TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
425
+ # - name: Run cargo outdated
426
+ # if: ${{ !env.ACT }}
427
+ # run: cargo outdated --root-deps-only --exit-code 1
426
428
427
429
- name : Validate Envoy config
428
430
run : |
@@ -503,10 +505,9 @@ jobs:
503
505
- name : Format (manifest)
504
506
run : cargo verify-project
505
507
506
- # TODO: Re-enable once cargo audit supports Cargo lockfile v4.
507
- # - name: Run cargo audit
508
- # if: ${{ !env.ACT }}
509
- # run: cargo audit
508
+ - name : Run cargo audit
509
+ if : ${{ !env.ACT }}
510
+ run : cargo audit
510
511
511
512
# TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
512
513
# - name: Run cargo outdated
0 commit comments