1 name: Bootstrap rustc using cg_clif
11 - uses: actions/checkout@v2
13 - name: Cache cargo installed crates
14 uses: actions/cache@v2
17 key: ${{ runner.os }}-cargo-installed-crates
19 - name: Cache cargo registry and index
20 uses: actions/cache@v2
25 key: ${{ runner.os }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
27 - name: Cache cargo target dir
28 uses: actions/cache@v2
31 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
33 - name: Prepare dependencies
35 git config --global user.email "user@example.com"
36 git config --global user.name "User"
41 # Enable backtraces for easier debugging
42 export RUST_BACKTRACE=1
44 ./scripts/test_bootstrap.sh