fork/rust-analyzer
git clone https://git.julia.blue/fork/rust-analyzer
f2c2c36efe
nightly
1name : metrics 2on : 3push : 4branches : 5- master 6 7env : 8CARGO_INCREMENTAL : 0 9CARGO_NET_RETRY : 10 10RUSTFLAGS : "-D warnings -W unreachable-pub" 11RUSTUP_MAX_RETRIES : 10 12 13jobs : 14metrics : 15if : github.repository == 'rust-lang/rust-analyzer' 16runs-on : ubuntu-latest 17 18steps : 19- name : Checkout repository 20uses : actions/checkout@v3 21 22- name : Install Rust toolchain 23run : | 24rustup update --no-self-update stable 25rustup component add rustfmt rust-src 26 27- name : Collect metrics 28run : cargo xtask metrics 29env : 30METRICS_TOKEN : ${{ secrets.METRICS_TOKEN }}