From 09b1947d13800a31b848953538c1e299fb2357da Mon Sep 17 00:00:00 2001 From: "Guillem L. Jara" <4lon3ly0@tutanota.com> Date: Wed, 6 May 2026 19:58:39 +0200 Subject: [PATCH] CI: add missing hook --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b46fd3..90bd181 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,6 +37,13 @@ repos: pass_filenames: false types: [file, rust] language: system + - id: cargo-lock-check + name: Cargo.lock sync check + description: Ensure Cargo.lock is up-to-date. + entry: cargo fetch --quiet -- + pass_filenames: false + files: 'Cargo\.(toml|lock)$' + language: system - id: cspell name: Code spell checker (cspell) description: Run cspell to check for spelling errors (if available).