Skip to content

Commit

Permalink
run eval $(opam env) before pre-commit?
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Jul 30, 2021
1 parent a7d5946 commit 0f86542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/indentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: opam install -y ocp-indent

- name: Run pre-commit hook on changes since last push
run: git reset --soft ${{ github.event.before }} && ./scripts/hooks/pre-commit
run: git reset --soft ${{ github.event.before }} && eval $(opam env) && ./scripts/hooks/pre-commit

0 comments on commit 0f86542

Please sign in to comment.