diff --git a/install.sh b/install.sh index ef25b62..8ebc110 100755 --- a/install.sh +++ b/install.sh @@ -10,8 +10,9 @@ npm install --global \ @commitlint/types@19.0.3 cargo install --git https://github.com/DenisGorbachev/cargo-doc2readme --branch dev -cargo install cargo-machete +cargo install cargo-machete --locked cargo install cargo-hack --locked +cargo install cargo-sort --locked # Install yj curl -L https://github.com/sclevine/yj/releases/download/v5.1.0/yj-linux-amd64 -o /tmp/yj diff --git a/lefthook.yml b/lefthook.yml index 7145cea..40482a4 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -19,6 +19,8 @@ pre-commit: run: remark --ignore-path .gitignore --quiet --frail --no-stdout . test-docs: run: cargo test --doc + sort-deps: + run: cargo sort lint-deps: run: cargo machete --with-metadata commit-msg: