10 RUSTFLAGS: "-D warnings -W unreachable-pub"
11 RUSTUP_MAX_RETRIES: 10
15 if: github.repository == 'rust-lang/rust-analyzer'
16 runs-on: ubuntu-latest
19 - name: Checkout repository
20 uses: actions/checkout@v3
22 - name: Install Rust toolchain
24 rustup update --no-self-update stable
25 rustup component add rustfmt rust-src
27 - name: Collect metrics
28 run: cargo xtask metrics
30 METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}