File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -4,32 +4,23 @@ on: pull_request
44
55jobs :
66 compliance_job :
7- runs-on : ubuntu-22 .04
7+ runs-on : ubuntu-24 .04
88 name : Run compliance checks on patch series (PR)
99 steps :
1010 - name : Checkout the code
11- uses : actions/checkout@v2
11+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1212 with :
1313 path : ncs/nrfxlib
1414 ref : ${{ github.event.pull_request.head.sha }}
1515 fetch-depth : 0
1616
17- - name : cache-pip
18- uses : actions/cache@v1
19- with :
20- path : ~/.cache/pip
21- key : ${{ runner.os }}-doc-pip
22-
2317 - name : Install python dependencies
2418 run : |
25- pip3 install -U pip
26- pip3 install -U setuptools
2719 export PATH="$HOME/.local/bin:$PATH"
28- pip3 install -U wheel
2920 # TODO: add yamllint to scripts/requirements-fixed.txt
3021 pip3 install -U yamllint
31- pip3 install lxml==4.9.1
32- pip3 install -U python-magic junitparser==2.8.0 gitlint pylint pykwalify
22+ pip3 install lxml
23+ pip3 install -U python-magic junitparser==2.8.0 gitlint pylint pykwalify
3324 pip3 install -U unidiff
3425 pip3 install --user -U west
3526 pip3 show -f west
6758 $ZEPHYR_BASE/scripts/ci/check_compliance.py -m Codeowners -m Devicetree -m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m KconfigBasic -c origin/${BASE_REF}..
6859
6960 - name : Upload Results
70- uses : actions/upload-artifact@master
61+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7162 continue-on-error : true
7263 with :
7364 name : compliance.xml
You can’t perform that action at this time.
0 commit comments