From cf866d12b453e12f559948ff5c57ada6cac1a91b Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Thu, 14 Aug 2025 14:15:15 +0200 Subject: [PATCH] chore: Pin cargo-deny to 0.18.3 (#38681) cargo-deny@0.18.4 requires Rust 1.88 Testing: Fixes CI. Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --- .github/workflows/lint.yml | 2 +- python/servo/platform/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d2dba9d4a63..7656e009e05 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -37,7 +37,7 @@ jobs: uses: baptiste0928/cargo-install@v3 with: crate: cargo-deny - version: 0.18 + version: 0.18.3 locked: true - name: Bootstrap dependencies run: | diff --git a/python/servo/platform/base.py b/python/servo/platform/base.py index e1569868d82..0255ce48091 100644 --- a/python/servo/platform/base.py +++ b/python/servo/platform/base.py @@ -98,7 +98,7 @@ class Base: return False print(" * Installing cargo-deny...") - if subprocess.call(["cargo", "install", "cargo-deny", "--locked"]) != 0: + if subprocess.call(["cargo", "install", "cargo-deny@0.18.3", "--locked"]) != 0: raise EnvironmentError("Installation of cargo-deny failed.") return True