Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add lefthook [pre-commit] CI pipeline #10

Merged
merged 11 commits into from
Apr 11, 2024
Prev Previous commit
ci: update installation of lefthook
  • Loading branch information
doniz committed Apr 11, 2024
commit 36f30023f8d0c8207cfc1168c522434eb7324fa8
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
Loading