Skip to content

Commit

Permalink
ci: update installation of lefthook
Browse files Browse the repository at this point in the history
  • Loading branch information
doniz committed Apr 11, 2024
1 parent 061a459 commit 36f3002
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/lefthook-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
# 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: lefthook install
run: sudo apt install lefthook && lefthook install
- name: Run Lefthook
run: lefthook run pre-commit

0 comments on commit 36f3002

Please sign in to comment.