From 54b9fa0e2f7800d89571b1b4244d067fed100e7c Mon Sep 17 00:00:00 2001 From: kirinnee Date: Sun, 25 Aug 2024 11:41:14 +0800 Subject: [PATCH] fix: missing pre-commit script in CI --- scripts/ci/pre-commit.sh | 5 +++++ scripts/local/clone.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 scripts/ci/pre-commit.sh diff --git a/scripts/ci/pre-commit.sh b/scripts/ci/pre-commit.sh new file mode 100755 index 0000000..af245ca --- /dev/null +++ b/scripts/ci/pre-commit.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -eou pipefail + +pre-commit run --all-files -v diff --git a/scripts/local/clone.sh b/scripts/local/clone.sh index 3fd54b0..053ad68 100755 --- a/scripts/local/clone.sh +++ b/scripts/local/clone.sh @@ -15,4 +15,4 @@ for service in ${SERVICES[@]}; do git clone "git@github.com:AtomiCloud/sulfoxide.${service}.git" "./repos/${service}" done -echo "🔧 Done!" \ No newline at end of file +echo "🔧 Done!"