File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,26 @@ jobs:
27
27
toolchain : stable
28
28
override : true
29
29
30
- - name : Install cargo-llvm-cov
31
- uses : taiki-e/install-action@cargo-llvm-cov
30
+ - name : rustfmt
31
+ run : |
32
+ cargo fmt --all --check
32
33
33
- - name : Build and Test
34
+ - name : clippy
35
+ run : |
36
+ cargo clippy --all-features --all-targets -- -D warnings
37
+
38
+ - name : Build
34
39
run : cargo build --verbose
35
40
36
41
- name : Run tests
37
42
run : cargo test --verbose
38
43
44
+ - name : Install cargo-llvm-cov
45
+ uses : taiki-e/install-action@cargo-llvm-cov
46
+
39
47
- name : Generate code coverage
40
48
run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
49
+
41
50
- name : Upload coverage to Codecov
42
51
uses : codecov/codecov-action@v3
43
52
with :
You can’t perform that action at this time.
0 commit comments