File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Format
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [main]
7+
8+ jobs :
9+ format :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.10'
19+
20+ - name : Install pre-commit
21+ run : pip install pre-commit
22+
23+ - name : Run pre-commit checks
24+ run : pre-commit run
Original file line number Diff line number Diff line change 1919# ========================
2020
2121* .yml
22+ ! .github /workflows /* .yml
2223* .pyc
2324* .bak
2425* .pkl
Original file line number Diff line number Diff line change 6262 - -rn # Only display messages
6363 - -sn # Don't display the score
6464 - --source-roots=p-isa_tools/kerngen # Working directory
65+ - --source-roots=assembler_tools/hec-assembler-tools # Added directory
6566 - id : clang-format-14
6667 name : clang-format-14
6768 entry : clang-format-14
You can’t perform that action at this time.
0 commit comments