Skip to content

Commit

Permalink
chore: remove git from steps, but try to create .git/hooks folder
Browse files Browse the repository at this point in the history
  • Loading branch information
doniz committed Apr 11, 2024
1 parent 0cf6e5b commit 56d5aa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lefthook-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ 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
- name: Install Lefthook
run: sudo apt install lefthook
- name: Install Hooks
run: |
mkdir -p .git/hooks
ls -la
lefthook install
lefthook dump
Expand Down

0 comments on commit 56d5aa0

Please sign in to comment.