File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22name : pre-commit
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88jobs :
99 pre-commit :
1010 runs-on : ubuntu-latest
2525 with :
2626 path : |
2727 ~/.cache/pre-commit/
28- bash_unit
29- key : pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
28+ key :
29+ pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
3030 }}
3131 - name : Run pre-commit hooks
3232 env :
5252 with :
5353 path : |
5454 ~/.cache/pre-commit/
55- bash_unit
56- key : pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
55+ key :
56+ pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')
5757 }}
5858 - name : Provide log as artifact
5959 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments