Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cargo outdated fork to workaround its outdated dependencies. #292

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,12 @@ jobs:
./rustup-init.sh -y
rm rustup-init.sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/.cargo/bin
cargo install cargo-outdated

- name: Run cargo outdated
run: cargo outdated --root-deps-only --exit-code 1
run: |
# TODO: Switch back to the official version once it supports Cargo lockfile v4.
cargo install --git https://github.com/MonterraByte/cargo-outdated.git --branch cargo-update
cargo outdated --root-deps-only --exit-code 1

audit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -420,9 +421,10 @@ jobs:
if: ${{ !env.ACT }}
run: cargo audit

- name: Run cargo outdated
if: ${{ !env.ACT }}
run: cargo outdated --root-deps-only --exit-code 1
# 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: Validate Envoy config
run: |
Expand Down Expand Up @@ -503,10 +505,9 @@ jobs:
- name: Format (manifest)
run: cargo verify-project

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

# TODO: Re-enable once cargo outdated supports Cargo lockfile v4.
#- name: Run cargo outdated
Expand Down
Loading