Skip to content

Commit 09a61e4

Browse files
committed
[WIP] Unified script
1 parent 75acf3b commit 09a61e4

File tree

2 files changed

+232
-335
lines changed

2 files changed

+232
-335
lines changed

.github/workflows/pr-code-lint.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,33 +81,20 @@ jobs:
8181
pip install doc8 --break-system-packages
8282
echo "$HOME/.local/bin" >> $GITHUB_PATH
8383
84-
- name: Run clang-tidy linter
84+
- name: Run linters
8585
env:
8686
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
8787
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
8888
run: |
8989
echo "[]" > comments &&
9090
python3 llvm/utils/git/code-lint-helper.py \
91-
--linter clang-tidy \
9291
--token ${{ secrets.GITHUB_TOKEN }} \
9392
--issue-number $GITHUB_PR_NUMBER \
9493
--start-rev HEAD~1 \
9594
--end-rev HEAD \
9695
--verbose \
9796
--changed-files "$CHANGED_FILES"
9897
99-
- name: Run doc8 linter
100-
env:
101-
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
102-
run: |
103-
python3 llvm/utils/git/code-lint-helper.py \
104-
--linter doc8 \
105-
--token ${{ secrets.GITHUB_TOKEN }} \
106-
--issue-number $GITHUB_PR_NUMBER \
107-
--start-rev HEAD~1 \
108-
--end-rev HEAD \
109-
--verbose
110-
11198
- name: Upload results
11299
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
113100
if: always()

0 commit comments

Comments
 (0)