From e74bb8de15922569662ecc4d29b78b8f8121cb1b Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Mon, 24 Feb 2025 13:47:51 +0100 Subject: [PATCH] Prevent lint job from trying to use incompatible cargo-deny version (#35632) Lint jobs were failing because they would try to install the latest version of cargo-deny (0.18.0), which requries rustc 1.85.0 or newer, while the currently active rustc version is 1.83.0. Therefore this makes it install version 0.17 instead. Signed-off-by: Oriol Brufau --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a7463d6425c..3c6e7e5be0d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -37,6 +37,8 @@ jobs: uses: baptiste0928/cargo-install@v3 with: crate: cargo-deny + # Version 0.18 requires rustc 1.85, but we are still using rustc 1.83. + version: 0.17 locked: true - name: Bootstrap dependencies run: |