Skip to content

Commit c532070

Browse files
committed
do all in one
1 parent ec94e16 commit c532070

File tree

7 files changed

+7
-111
lines changed

7 files changed

+7
-111
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,9 @@ jobs:
5353
cd rust-clippy
5454
cargo +nightly-2023-06-02 build --release --bin cargo-clippy --bin clippy-driver -Zunstable-options --out-dir "$(rustc --print=sysroot)/bin"
5555
56-
##### CODE MODIFICATION STEPS ####
57-
- name: run crusts
56+
- name: apply all modifications and collect logs
5857
working-directory: ./benchmark
59-
run: bash crusts.sh
60-
continue-on-error: true
61-
62-
- name: run clippy fix
63-
working-directory: ./benchmark
64-
run: bash clippy_fix.sh
65-
continue-on-error: true
66-
67-
- name: comment unsafe code
68-
working-directory: ./benchmark
69-
run: bash unsafe.sh
70-
71-
##### GATHER DIAGNOSTICS STEPS ####
72-
73-
- name: run clippy on working projects with 30 rules
74-
working-directory: ./benchmark
75-
run: bash cargo_check_clippy.sh >cargo_check.log 2>clippy.log
58+
run: bash all_in_one.sh 2>clippy.log
7659
continue-on-error: true
7760

7861
- name: clippy logs

benchmark/all_in_one.sh

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

benchmark/cargo_check_clippy.sh

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

benchmark/clippy_fix.sh

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

benchmark/crusts.sh

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

benchmark/crusts_par.sh

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

benchmark/unsafe.sh

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

0 commit comments

Comments
 (0)