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