@@ -70,11 +70,10 @@ jobs:
70
70
]
71
71
steps :
72
72
- uses : actions/checkout@v2
73
- - uses : actions-rs/toolchain@v1
74
- with :
75
- profile : minimal
76
- target : ${{ matrix.target }}
77
- toolchain : stable
73
+ - name : Install toolchain/target
74
+ run : |
75
+ rustup update stable --no-self-update --profile=minimal --target=${{ matrix.target }}
76
+ rustup default stable
78
77
- name : Install multilib
79
78
# update is needed to fix the 404 error on install, see:
80
79
# https://github.com/actions/virtual-environments/issues/675
@@ -97,11 +96,10 @@ jobs:
97
96
]
98
97
steps :
99
98
- uses : actions/checkout@v2
100
- - uses : actions-rs/toolchain@v1
101
- with :
102
- profile : minimal
103
- target : ${{ matrix.target }}
104
- toolchain : stable
99
+ - name : Install toolchain/target
100
+ run : |
101
+ rustup update stable --no-self-update --profile=minimal --target=${{ matrix.target }}
102
+ rustup default stable
105
103
- name : Build Tests
106
104
run : cargo test --no-run --target=${{ matrix.target }} --features=std
107
105
@@ -118,11 +116,9 @@ jobs:
118
116
steps :
119
117
- uses : actions/checkout@v2
120
118
- name : Install toolchain
121
- uses : actions-rs/toolchain@v1
122
- with :
123
- profile : minimal
124
- toolchain : ${{ matrix.toolchain }}
125
- override : true
119
+ run : |
120
+ rustup update ${{ matrix.toolchain }} --no-self-update --profile=minimal
121
+ rustup default ${{ matrix.toolchain }}
126
122
- run : cargo test --features=std
127
123
128
124
# TODO: Add emscripten when it's working with Cross
0 commit comments