File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 58
58
key : ${{ runner.os }}-cargo-build-trimmed-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
59
59
- name : Install Rustup using ./rustup-init.sh
60
60
run : |
61
- sh ./rustup-init.sh --default-toolchain=stable --profile=minimal -y
61
+ sh ./rustup-init.sh --default-toolchain=none --profile=minimal -y
62
+ - name : Ensure Stable is up to date
63
+ run : |
64
+ if rustc +stable -vV >/dev/null 2>/dev/null; then
65
+ rustup toolchain uninstall stable
66
+ fi
67
+ rustup toolchain install --profile=minimal stable
68
+ - name : Ensure we have our goal target installed
69
+ run : |
62
70
rustup target install "$TARGET"
63
71
- name : Run a full build and test
64
72
run : bash ci/run.bash
Original file line number Diff line number Diff line change 58
58
key : ${{ runner.os }}-cargo-build-trimmed-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
59
59
- name : Install Rustup using ./rustup-init.sh
60
60
run : |
61
- sh ./rustup-init.sh --default-toolchain=stable --profile=minimal -y
61
+ sh ./rustup-init.sh --default-toolchain=none --profile=minimal -y
62
+ - name : Ensure Stable is up to date
63
+ run : |
64
+ if rustc +stable -vV >/dev/null 2>/dev/null; then
65
+ rustup toolchain uninstall stable
66
+ fi
67
+ rustup toolchain install --profile=minimal stable
68
+ - name : Ensure we have our goal target installed
69
+ run : |
62
70
rustup target install "$TARGET"
63
71
- name : Run a full build and test
64
72
run : bash ci/run.bash
You can’t perform that action at this time.
0 commit comments