File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181 ${{ runner.temp }}/*.log
8282 /usr/local/squid/var/logs/overlord/*.log
8383
84- source-maintenance-tests :
85-
86- runs-on : ubuntu-22.04
87-
88- steps :
89- - name : Install prerequisite packages
90- run : |
91- sudo apt-get --quiet=2 update
92- sudo apt-get --quiet=2 install astyle
93- sudo apt-get --quiet=2 install gperf
94- pip install \
95- --user \
96- --no-cache-dir \
97- --disable-pip-version-check \
98- --quiet \
99- --progress-bar off \
100- codespell==1.16 # TODO: Upgrade to codespell v2
101-
102- - uses : actions/checkout@v4
103- with :
104- fetch-depth : ${{ env.CHECKOUT_FETCH_DEPTH }}
105-
106- - run : ./test-suite/test-sources.sh
107-
10884 build-tests :
10985
11086 strategy :
Original file line number Diff line number Diff line change 1+ name : Source maintenance
2+
3+ on :
4+ pull_request :
5+ # test PRs targeting this branch code
6+ branches : [ "master" ]
7+
8+ permissions :
9+ contents : read
10+ pull-requests : write
11+
12+ jobs :
13+ source-maintenance :
14+
15+ runs-on : ubuntu-22.04
16+
17+ steps :
18+ - name : Install prerequisite packages
19+ run : |
20+ sudo apt-get --quiet=2 update
21+ sudo apt-get --quiet=2 install astyle
22+ sudo apt-get --quiet=2 install gperf
23+ pip install \
24+ --user \
25+ --no-cache-dir \
26+ --disable-pip-version-check \
27+ --quiet \
28+ --progress-bar off \
29+ codespell==1.16 # TODO: Upgrade to codespell v2
30+
31+ - uses : actions/checkout@v4
32+ with :
33+ fetch-depth : ${{ env.CHECKOUT_FETCH_DEPTH }}
34+
35+ - run : ./test-suite/test-sources.sh
36+
37+ - uses : parkerbxyz/suggest-changes@v1
38+ with :
39+ comment : ' Please assess and commit source lint changes'
40+ event : ' REQUEST_CHANGES'
41+
42+
You can’t perform that action at this time.
0 commit comments