File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,16 @@ jobs:
57
57
formatting :
58
58
runs-on : ubuntu-latest
59
59
steps :
60
+ - name : Checkout repository
60
61
- uses : actions/checkout@v3
62
+
61
63
- name : Install Rust
62
64
uses : actions-rs/toolchain@v1
63
65
with :
64
66
toolchain : stable
65
67
components : rustfmt
68
+
69
+ - name : Run rustfmt
66
70
- run : cargo fmt -- --check
67
71
68
72
coverage :
@@ -74,15 +78,14 @@ jobs:
74
78
- name : Install nightly toolchain
75
79
uses : actions-rs/toolchain@v1
76
80
with :
77
- toolchain : nightly
81
+ toolchain : stable
78
82
override : true
79
83
80
84
- name : Install cargo-tarpaulin
81
85
uses :
actions-rs/[email protected]
82
86
with :
83
87
crate : cargo-tarpaulin
84
88
version : latest
85
- use-tool-cache : true
86
89
87
90
- name : Coverage with tarpaulin
88
91
run : cargo tarpaulin --out Lcov -- --test-threads 1
You can’t perform that action at this time.
0 commit comments