3 - find ./target/debug -maxdepth 1 -type f -delete
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*tools*,*gen_lsp*,*thread_worker*}
5 - rm -f ./target/.rustc_info.json
14 - rustup component add rustfmt
15 - rustup component add rust-src
16 - cargo test --no-run # let's measure compile time separately
19 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
22 if: branch = master AND type = push
28 - cargo doc --all --no-deps
30 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
36 - cd editors/code && npm ci && npm run travis
47 github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
53 condition: $DEPLOY_DOCS = 1