Skip to content

Commit

Permalink
ci: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisGorbachev committed Jul 21, 2024
1 parent 2f8544f commit a460dac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ jobs:
run: lefthook run --force pre-commit
-
run: cargo hack test --feature-powerset
-
name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ pre-commit:
test-docs:
run: cargo test --doc
lint-commit:
run: commitlint --from HEAD~1 --to HEAD
run: commitlint --last

0 comments on commit a460dac

Please sign in to comment.