File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 2020 run :
2121 shell : bash
2222 container :
23- image : ' ghcr.io/llvm/ci-ubuntu-24.04:latest '
23+ image : ' ghcr.io/llvm/ci-ubuntu-24.04-lint '
2424 timeout-minutes : 60
2525 concurrency :
2626 group : ${{ github.workflow }}-${{ github.ref }}
3131 with :
3232 fetch-depth : 2
3333
34+ # FIXME: same as in ".github/workflows/pr-code-format.yml"
35+ - name : Set Safe Directory
36+ run : |
37+ chown -R root $(pwd)
38+
3439 - name : Get changed files
3540 id : changed-files
3641 uses : tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
4651 run : |
4752 echo "Changed files:"
4853 echo "$CHANGED_FILES"
49-
50- # The clang tidy version should always be upgraded to the first version
51- # of a release cycle (x.1.0) or the last version of a release cycle, or
52- # if there have been relevant clang-format backports.
53- - name : Install clang-tidy
54- uses : aminya/setup-cpp@a276e6e3d1db9160db5edc458e99a30d3b109949 # v1.7.1
55- with :
56- clang-tidy : 21.1.0
57-
58- - name : Setup Python env
59- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
60- with :
61- python-version : ' 3.13'
62-
63- - name : Install Python dependencies
64- run : python3 -m pip install -r llvm/utils/git/requirements_linting.txt
6554
6655 # TODO: create special mapping for 'codegen' targets, for now build predefined set
6756 # TODO: add entrypoint in 'compute_projects.py' that only adds a project and its direct dependencies
You can’t perform that action at this time.
0 commit comments