@@ -36,11 +36,15 @@ jobs:
36
36
fetch-depth : 0
37
37
ref : ${{ steps.find_merge_base.outputs.merge_base }}
38
38
39
- - name : Setup Rust Environment
40
- uses : ./.github/actions/setup- rust
39
+ - name : Rustup toolchain install
40
+ uses : dtolnay/ rust-toolchain@master
41
41
with :
42
+ toolchain : 1.87.0
42
43
components : rustfmt, clippy
43
44
45
+ - name : Add Rust Cache
46
+ uses : Swatinem/rust-cache@v2
47
+
44
48
- name : Run Lines of Code Counter for base
45
49
run : cd tooling && make loc-detailed
46
50
# This creates current_detailed_loc_report.json for the base branch
@@ -54,11 +58,15 @@ jobs:
54
58
clean : " false" # Don't clean the workspace, so we can keep the previous report
55
59
ref : ${{ github.event.pull_request.head.sha }}
56
60
57
- - name : Setup Rust Environment
58
- uses : ./.github/actions/setup- rust
61
+ - name : Rustup toolchain install
62
+ uses : dtolnay/ rust-toolchain@master
59
63
with :
64
+ toolchain : 1.87.0
60
65
components : rustfmt, clippy
61
66
67
+ - name : Add Rust Cache
68
+ uses : Swatinem/rust-cache@v2
69
+
62
70
- name : Run Lines of Code Counter for PR
63
71
run : cd tooling && make loc-detailed
64
72
# This creates current_detailed_loc_report.json
0 commit comments