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 <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-02-24 13:47:51 +01:00 committed by GitHub
parent 9efe7ad45d
commit e74bb8de15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: |