File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 32
32
run : |
33
33
set -o pipefail
34
34
pre-commit gc
35
+ # Run default pre-commit hooks
35
36
pre-commit run --show-diff-on-failure --color=always --all-files | tee ${RAW_LOG}
37
+ # Run manual pre-commit hook that runs bash_unit@rev
38
+ # defined in .pre-commit-config.yaml
39
+ pre-commit run bash-unit --hook-stage manual -a | tee -a ${RAW_LOG}
40
+ # Run this version of bash_unit using it's current pre-commit-hook.yaml config
41
+ # Useful for testing that the current version works
42
+ pre-commit try-repo . --verbose --all-files | tee -a ${RAW_LOG}
36
43
- name : Convert Raw Log to annotations
37
44
uses : mdeweerd/logToCheckStyle@v2024.2.3
38
45
if : ${{ failure() }}
Original file line number Diff line number Diff line change @@ -83,3 +83,11 @@ repos:
83
83
language : system
84
84
entry : bash -c "./bash_unit tests/*"
85
85
pass_filenames : false
86
+
87
+ - repo : https://github.com/pgrange/bash_unit
88
+ rev : 308c139639269b89c26911098b7739ee2400fcbd
89
+ hooks :
90
+ - id : bash-unit
91
+ stages : [manual]
92
+ always_run : true
93
+ verbose : true
You can’t perform that action at this time.
0 commit comments