File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-22.04
9
9
steps :
10
10
- uses : actions/checkout@v4
11
- - uses : actions-rs/toolchain@v1
12
- with :
13
- profile : minimal
14
- toolchain : stable
15
- override : true
16
- - uses : actions-rs/cargo@v1
17
- with :
18
- command : build
19
- args : --release
11
+ - uses : dtolnay/rust-toolchain@stable
12
+ - run : cargo build --release
13
+
20
14
- name : Install LLVM
21
15
run : |
22
16
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
33
27
runs-on : ubuntu-22.04
34
28
steps :
35
29
- uses : actions/checkout@v4
36
- - uses : actions-rs/toolchain@v1
37
- with :
38
- profile : minimal
39
- toolchain : stable
40
- override : true
41
- - name : Add rustup component
42
- run : rustup component add rustfmt
43
- - uses : actions-rs/cargo@v1
30
+ - uses : dtolnay/rust-toolchain@stable
44
31
with :
45
- command : fmt
46
- args : --all -- --check
32
+ components : rustfmt
33
+ - run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments