summaryrefslogtreecommitdiff
path: root/git-hooks/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks/pre-commit')
-rwxr-xr-xgit-hooks/pre-commit5
1 files changed, 1 insertions, 4 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit
index ea34684..3ec2289 100755
--- a/git-hooks/pre-commit
+++ b/git-hooks/pre-commit
@@ -3,13 +3,10 @@
# Don't put anything here that routinely takes longer than a second or so to
# run. It gets old fast. That's why this doesn't run tests, for example.
+tools/check-lockfiles
tools/check-format
tools/check-lint
-# Make sure package-lock.json is up to date with package.json
-npm ci --dry-run
-# Make sure Cargo.lock is up to date with Cargo.toml.
-cargo update --locked --workspace
# Make sure the prepared statement data in .sqlx is up to date. Requires
# `cargo-sqlx` (`cargo install cargo-sqlx`).
export DATABASE_URL=sqlite://pilcrow.db.pre-commit?mode=rwc