File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 27
27
timeout_minutes : 5
28
28
max_attempts : 3
29
29
retry_on : error
30
- command : git clone https://gitee.com/openharmony/${{ matrix.project }}.git
30
+ command : git clone --branch OpenHarmony-v4.1-Beta1 https://gitee.com/openharmony/${{ matrix.project }}.git
31
31
32
32
- name : Cache Cargo dependencies and binaries
33
33
uses : actions/cache@v4
@@ -43,13 +43,13 @@ jobs:
43
43
- name : prepare repository for dylint
44
44
working-directory : ./${{ matrix.project }}
45
45
run : |
46
- curl -o prepare_repo.sh https://raw.githubusercontent.com/trusted-programming/mate/${GITHUB_REF##*/} /scripts/prepare_repo.sh
46
+ curl -o prepare_repo.sh https://raw.githubusercontent.com/trusted-programming/mate/main /scripts/prepare_repo.sh
47
47
bash prepare_repo.sh
48
48
49
49
- name : count occurrences before
50
50
working-directory : ./${{ matrix.project }}
51
51
run : |
52
- curl -o counters.sh https://raw.githubusercontent.com/trusted-programming/mate/${GITHUB_REF##*/} /scripts/counters.sh
52
+ curl -o counters.sh https://raw.githubusercontent.com/trusted-programming/mate/main /scripts/counters.sh
53
53
bash counters.sh before
54
54
55
55
- name : Lint fix (run 5 times)
Original file line number Diff line number Diff line change 8
8
echo " ### FILE OUTPUT ###"
9
9
echo
10
10
11
- if ! dylint_output=$( cargo dylint --workspace --all 2>&1 ) ; then
12
- echo " Error running cargo dylint" >&2
13
- exit 1
14
- fi
11
+ dylint_output=$( cargo dylint --workspace --all -- --exclude tests --exclude benches 2>&1 )
15
12
16
13
echo " $dylint_output "
17
14
echo
You can’t perform that action at this time.
0 commit comments