From 51ad31ccf93a6160cdc33c7c3ba37d09d58b1e18 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Thu, 4 Jun 2026 07:37:06 +0700 Subject: [PATCH] use `threeal/setup-lefthook-action` in CI Signed-off-by: Alfi Maulana --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ef457895..0718d23f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,10 +12,8 @@ jobs: - name: Checkout uses: actions/checkout@v6.0.3 - - name: Install Lefthook - run: | - curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash - sudo apt install lefthook + - name: Setup Lefthook + uses: threeal/setup-lefthook-action@v1.0.0 - name: Setup pnpm uses: threeal/setup-pnpm-action@v1.0.0