From 9a68c7f6c79adea05e2d5cbc8ce09e801e664bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Date: Thu, 21 Jan 2021 15:37:10 +0100 Subject: Add step to run analysis-stats on std --- .github/workflows/release.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a97ed24ba..94b6aa7c4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -94,6 +94,7 @@ jobs: toolchain: stable profile: minimal override: true + components: rust-src - name: Install Nodejs uses: actions/setup-node@v1 @@ -108,10 +109,12 @@ jobs: if: github.ref != 'refs/heads/release' run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly - - name: Nightly analysis-stats check - if: github.ref != 'refs/heads/release' + - name: Run analysis-stats on rust-analyzer run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . + - name: Run analysis-stats on rust std library + run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std + - name: Upload artifacts uses: actions/upload-artifact@v1 with: -- cgit v1.2.3