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 88 runs-on : ubuntu-22.04
99 steps :
1010 - 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+
2014 - name : Install LLVM
2115 run : |
2216 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
3327 runs-on : ubuntu-22.04
3428 steps :
3529 - 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
4431 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