File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,30 +20,24 @@ jobs:
2020 - nightly
2121
2222 steps :
23- - uses : actions/checkout@v2
24-
25- - uses : actions-rs/toolchain@v1
26- name : installing toolchain
27- with :
28- profile : default
29- toolchain : ${{ matrix.rust }}
30- override : true
31- components : rustfmt, clippy
32-
33- - uses : actions-rs/cargo@v1
34- name : build
35- with :
36- command : build
37- args : --release
38-
39- - uses : actions-rs/cargo@v1
40- name : fmt
41- with :
42- command : fmt
43- args : --all -- --check
44-
45- - uses : actions-rs/cargo@v1
46- name : clippy
47- with :
48- command : clippy
49- args : -- -D warnings
23+ - uses : actions/checkout@v4
24+
25+ - name : Set up Rust toolchain
26+ run : |
27+ rustup toolchain install ${{ matrix.rust }}
28+
29+ - name : Build examples
30+ run : |
31+ cargo build --examples
32+
33+ - name : Build release config
34+ run : |
35+ cargo build --release
36+
37+ - name : Check formatting
38+ run : |
39+ cargo fmt --all -- --check
40+
41+ - name : Check formatting
42+ run : |
43+ cargo clippy -- -D warnings
Original file line number Diff line number Diff line change @@ -20,30 +20,24 @@ jobs:
2020 - nightly
2121
2222 steps :
23- - uses : actions/checkout@v2
24-
25- - uses : actions-rs/toolchain@v1
26- name : installing toolchain
27- with :
28- profile : default
29- toolchain : ${{ matrix.rust }}
30- override : true
31- components : rustfmt, clippy
32-
33- - uses : actions-rs/cargo@v1
34- name : build
35- with :
36- command : build
37- args : --release
38-
39- - uses : actions-rs/cargo@v1
40- name : fmt
41- with :
42- command : fmt
43- args : --all -- --check
44-
45- - uses : actions-rs/cargo@v1
46- name : clippy
47- with :
48- command : clippy
49- args : -- -D warnings
23+ - uses : actions/checkout@v4
24+
25+ - name : Set up Rust toolchain
26+ run : |
27+ rustup toolchain install ${{ matrix.rust }}
28+
29+ - name : Build examples
30+ run : |
31+ cargo build --examples
32+
33+ - name : Build release config
34+ run : |
35+ cargo build --release
36+
37+ - name : Check formatting
38+ run : |
39+ cargo fmt --all -- --check
40+
41+ - name : Check formatting
42+ run : |
43+ cargo clippy -- -D warnings
You can’t perform that action at this time.
0 commit comments