File tree 5 files changed +7
-47
lines changed
5 files changed +7
-47
lines changed Original file line number Diff line number Diff line change 46
46
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
47
47
48
48
- name : Install Rust toolchain
49
- uses : actions-rs/toolchain@v1
50
- with :
51
- toolchain : stable
52
- profile : minimal
53
- override : true
54
- components : rustfmt, rust-src
49
+ run : rustup update stable && rustup component add rustfmt rust-src
55
50
56
51
- name : Cache Dependencies
57
52
uses : Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
79
74
uses : actions/checkout@v3
80
75
81
76
- name : Install Rust toolchain
82
- uses : actions-rs/toolchain@v1
83
- with :
84
- toolchain : stable
85
- profile : minimal
86
- override : true
77
+ run : rustup update stable
87
78
88
79
- name : Install Rust targets
89
80
run : rustup target add ${{ env.targets }} ${{ env.targets_ide }}
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
- uses : actions-rs/toolchain@v1
24
- with :
25
- toolchain : stable
26
- profile : minimal
27
- override : true
28
- components : rust-src
23
+ run : rustup update stable && rustup component add rustfmt rust-src
29
24
30
25
- name : Collect metrics
31
26
run : cargo xtask metrics
Original file line number Diff line number Diff line change @@ -20,16 +20,10 @@ jobs:
20
20
fetch-depth : 0
21
21
22
22
- name : Install Rust toolchain
23
- uses : actions-rs/toolchain@v1
24
- with :
25
- toolchain : stable
26
- profile : minimal
27
- override : true
23
+ run : rustup update stable
28
24
29
25
- name : Install cargo-workspaces
30
- uses :
actions-rs/[email protected]
31
- with :
32
- crate : cargo-workspaces
26
+ run : cargo install cargo-workspaces
33
27
34
28
- name : Release
35
29
env :
Original file line number Diff line number Diff line change 64
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
65
66
66
- name : Install Rust toolchain
67
- uses : actions-rs/toolchain@v1
68
- with :
69
- toolchain : stable
70
- target : ${{ matrix.target }}
71
- profile : minimal
72
- override : true
73
-
74
- - name : Install Rust library source
75
- if : matrix.target == 'x86_64-unknown-linux-gnu'
76
- uses : actions-rs/toolchain@v1
77
- with :
78
- toolchain : stable
79
- target : ${{ matrix.target }}
80
- profile : minimal
81
- override : true
82
- components : rust-src
67
+ run : rustup update stable && rustup target add ${{ matrix.target }} && rustup component add rust-src
83
68
84
69
- name : Install Node.js
85
70
uses : actions/setup-node@v1
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
- uses : actions-rs/toolchain@v1
24
- with :
25
- toolchain : stable
26
- profile : minimal
27
- override : true
28
- components : rustfmt, rust-src
23
+ run : rustup update stable
29
24
30
25
- name : Build Documentation
31
26
run : cargo doc --all --no-deps
You can’t perform that action at this time.
0 commit comments