Commit ff4f29f
Only run the pre-commit hook on changed files (#3145)
* Only run the pre-commit hook on changed files
* Let's change a haskell file
* Didn't use the PATTERN field correctly
* Move pre-commit block before building stylish-haskell
* Try to evaluate GIT_DIFF value to pass to pre-commit
* Try to evaluate GIT_DIFF value to pass to pre-commit
* Move pre-commit action back to original spot
* Introduce bad formatting in a file
* Conditionally run the pre-commit job only when there are haskell source
changes
* Restore haskell files we used for testing
* workflow fixes
* Try changing haskell source files with new workflow structure
* Revert all changes to files during testing
Co-authored-by: Pepe Iborra <[email protected]>1 parent 362ca34 commit ff4f29f
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | | - | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
| |||
40 | 53 | | |
41 | 54 | | |
42 | 55 | | |
| 56 | + | |
| 57 | + | |
0 commit comments