mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Add step to run analysis-stats on std
This commit is contained in:
parent
fde4a860ae
commit
9a68c7f6c7
1 changed files with 5 additions and 2 deletions
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -94,6 +94,7 @@ jobs:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
|
components: rust-src
|
||||||
|
|
||||||
- name: Install Nodejs
|
- name: Install Nodejs
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
|
@ -108,10 +109,12 @@ jobs:
|
||||||
if: github.ref != 'refs/heads/release'
|
if: github.ref != 'refs/heads/release'
|
||||||
run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
|
run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly
|
||||||
|
|
||||||
- name: Nightly analysis-stats check
|
- name: Run analysis-stats on rust-analyzer
|
||||||
if: github.ref != 'refs/heads/release'
|
|
||||||
run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats .
|
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
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue