File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 code_formatter :
1414 runs-on : ubuntu-24.04
15+ container :
16+ image : ' ghcr.io/llvm/ci-ubuntu-24.04-format'
1517 timeout-minutes : 30
1618 concurrency :
1719 group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
3941 echo "Formatting files:"
4042 echo "$CHANGED_FILES"
4143
42- # The clang format version should always be upgraded to the first version
43- # of a release cycle (x.1.0) or the last version of a release cycle, or
44- # if there have been relevant clang-format backports.
45- - name : Install clang-format
46- uses : aminya/setup-cpp@a276e6e3d1db9160db5edc458e99a30d3b109949 # v1.7.1
47- with :
48- clangformat : 21.1.0
49-
50- - name : Setup Python env
51- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
52- with :
53- python-version : ' 3.13'
54- cache : ' pip'
55- cache-dependency-path : ' llvm/utils/git/requirements_formatting.txt'
56-
57- - name : Install python dependencies
58- run : pip install -r llvm/utils/git/requirements_formatting.txt
59-
6044 - name : Run code formatter
6145 env :
6246 GITHUB_PR_NUMBER : ${{ github.event.pull_request.number }}
You can’t perform that action at this time.
0 commit comments