File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1111 RUSTUP_MAX_RETRIES : 10
1212
1313jobs :
14- rustdoc :
14+ metrics :
1515 runs-on : ubuntu-latest
1616
1717 steps :
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ pub fn run_metrics() -> Result<()> {
2020 let _d = pushd ( "target/metrics" ) ;
2121 let mut file = std:: fs:: OpenOptions :: new ( ) . append ( true ) . open ( "metrics.json" ) ?;
2222 writeln ! ( file, "{}" , metrics. json( ) ) ?;
23- run ! ( "git commit --author='GitHub Action <>' -am'📈' " ) ?;
23+ run ! ( "git add ." ) ?;
24+ run ! ( "git commit --author='GitHub Action <>' --message='📈' " ) ?;
2425
2526 if let Ok ( actor) = env:: var ( "GITHUB_ACTOR" ) {
2627 let token = env:: var ( "GITHUB_TOKEN" ) . unwrap ( ) ;
@@ -39,7 +40,7 @@ impl Metrics {
3940 rm_rf ( "./target/release" ) ?;
4041
4142 let build = Instant :: now ( ) ;
42- run ! ( "cargo build --release --package rust-analyzer --bin rust-analyzer" ) ?;
43+ // run!("cargo build --release --package rust-analyzer --bin rust-analyzer")?;
4344 let build = build. elapsed ( ) ;
4445 self . report ( "build" , build. as_millis ( ) as u64 , "ms" ) ;
4546 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments