File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 55
55
- name : Test
56
56
run : cargo test -- --nocapture --quiet
57
57
58
+ # It's faster to `test` before `build` ¯\_(ツ)_/¯
59
+ - name : Build
60
+ if : matrix.os == 'ubuntu-latest'
61
+ run : cargo build --quiet
62
+
63
+ - name : Run analysis-stats on rust-analyzer
64
+ if : matrix.os == 'ubuntu-latest'
65
+ run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats .
66
+
67
+ - name : Run analysis-stats on rust std library
68
+ if : matrix.os == 'ubuntu-latest'
69
+ run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
70
+
58
71
# Weird targets to catch non-portable code
59
72
rust-cross :
60
73
if : github.repository == 'rust-lang/rust-analyzer'
You can’t perform that action at this time.
0 commit comments