fork/rust-analyzer
git clone https://git.julia.blue/fork/rust-analyzer
3eb8b28ce5
2022-06-20
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 23uses : actions-rs/toolchain@v1 24with : 25toolchain : stable 26profile : minimal 27override : true 28components : rust-src 29 30- name : Collect metrics 31run : cargo xtask metrics 32env : 33METRICS_TOKEN : ${{ secrets.METRICS_TOKEN }}