From 56d5aa0dc6bdec515d3d3fb3a2fe4f2c3b657ff3 Mon Sep 17 00:00:00 2001 From: Donatas Navidonskis Date: Thu, 11 Apr 2024 17:19:19 +0300 Subject: [PATCH] chore: remove git from steps, but try to create .git/hooks folder --- .github/workflows/lefthook-precommit.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lefthook-precommit.yml b/.github/workflows/lefthook-precommit.yml index dc6820d..44f8e31 100644 --- a/.github/workflows/lefthook-precommit.yml +++ b/.github/workflows/lefthook-precommit.yml @@ -10,8 +10,6 @@ jobs: contents: write steps: - uses: actions/checkout@v2 - - name: Install Git - run: sudo apt-get install git - name: Install Package # yamllint disable-line rule:line-length run: curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash @@ -19,6 +17,7 @@ jobs: run: sudo apt install lefthook - name: Install Hooks run: | + mkdir -p .git/hooks ls -la lefthook install lefthook dump