File tree 3 files changed +13
-15
lines changed
3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 38
38
fetch-depth : 20
39
39
40
40
- name : Install Rust toolchain
41
- run : rustup update stable && rustup component add rustfmt rust-src
41
+ run : |
42
+ rustup update stable
43
+ rustup component add rustfmt rust-src
42
44
43
45
- name : Cache Dependencies
44
46
uses : Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
66
68
uses : actions/checkout@v3
67
69
68
70
- name : Install Rust toolchain
69
- run : rustup update stable
70
-
71
- - name : Install Rust targets
72
- run : rustup target add ${{ env.targets }} ${{ env.targets_ide }}
71
+ run : |
72
+ rustup update stable
73
+ rustup target add ${{ env.targets }} ${{ env.targets_ide }}
73
74
74
75
- name : Cache Dependencies
75
76
uses : Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
Original file line number Diff line number Diff line change 20
20
uses : actions/checkout@v3
21
21
22
22
- name : Install Rust toolchain
23
- run : rustup update stable && rustup component add rustfmt rust-src
23
+ run : |
24
+ rustup update stable
25
+ rustup component add rustfmt rust-src
24
26
25
27
- name : Collect metrics
26
28
run : cargo xtask metrics
Original file line number Diff line number Diff line change @@ -55,16 +55,11 @@ jobs:
55
55
with :
56
56
fetch-depth : ${{ env.FETCH_DEPTH }}
57
57
58
- # We need to disable the existing toolchain to avoid updating rust-docs
59
- # which takes a long time. The fastest way to do this is to rename the
60
- # existing folder, as deleting it takes about as much time as not doing
61
- # anything and just updating rust-docs.
62
- - name : Rename existing Rust toolchain
63
- if : matrix.os == 'windows-latest'
64
- run : Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old
65
-
66
58
- name : Install Rust toolchain
67
- run : rustup update stable && rustup target add ${{ matrix.target }} && rustup component add rust-src
59
+ run : |
60
+ rustup update stable
61
+ rustup target add ${{ matrix.target }}
62
+ rustup component add rust-src
68
63
69
64
- name : Install Node.js
70
65
uses : actions/setup-node@v1
You can’t perform that action at this time.
0 commit comments