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,22 @@ 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 :
23+ - uses : actions/checkout@v4
24+
25+ - name : Build examples
26+ run : |
27+ cargo build --examples
28+
29+ - name : Build release config
30+ run : |
31+ cargo build --release
3632 command: build
3733 args: --release
3834
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
35+ - name : Check formatting
36+ run : |
37+ cargo fmt --all -- --check
38+
39+ - name : Check formatting
40+ run : |
41+ cargo clippy -- -D warnings
You can’t perform that action at this time.
0 commit comments