@@ -312,11 +312,12 @@ jobs:
312312 ./rustup-init.sh -y
313313 rm rustup-init.sh
314314 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
315- export PATH=$PATH:$HOME/.cargo/bin
316- cargo install cargo-outdated
317315
318316 - 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
320321
321322 audit :
322323 runs-on : ubuntu-latest
@@ -420,9 +421,10 @@ jobs:
420421 if : ${{ !env.ACT }}
421422 run : cargo audit
422423
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
426428
427429 - name : Validate Envoy config
428430 run : |
@@ -503,10 +505,9 @@ jobs:
503505 - name : Format (manifest)
504506 run : cargo verify-project
505507
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
510511
511512 # TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
512513 # - name: Run cargo outdated
0 commit comments