Skip to content

Commit 6807416

Browse files
committed
update CI
1 parent 444c884 commit 6807416

File tree

5 files changed

+36
-74
lines changed

5 files changed

+36
-74
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,20 @@ jobs:
6464
run: sh clippy_fix.sh
6565
continue-on-error: true
6666

67-
##### GATHER DIAGNOSTICS STEPS ####
68-
69-
- name: percentage of working projects
67+
- name: comment unsafe code
7068
working-directory: ./benchmark
71-
run: sh cargo_check.sh
72-
continue-on-error: true
69+
run: bash unsafe.sh
70+
71+
##### GATHER DIAGNOSTICS STEPS ####
7372

74-
- name: run clippy with 30 rules
73+
- name: run clippy on working projects with 30 rules
7574
working-directory: ./benchmark
76-
run: sh clippy.sh 2>log.txt
75+
run: sh cargo_check_clippy.sh >cargo_check.log 2>clippy_log.txt
7776
continue-on-error: true
7877

7978
- name: clippy logs
8079
working-directory: ./benchmark
81-
run: cat log.txt
80+
run: cat clippy_log.txt
8281

8382
- name: compute KLOC
8483
working-directory: ./benchmark

benchmark/cargo_check.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

benchmark/cargo_check_clippy.sh

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/clippy.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

benchmark/clippy_fix.sh

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)