@@ -101,11 +101,13 @@ jobs:
101
101
uses : actions-rust-lang/setup-rust-toolchain@v1
102
102
with : { toolchain: nightly }
103
103
104
+ - name : Install cargo-tarpaulin
105
+ uses : taiki-e/install-action@v1
106
+ with : { tool: cargo-tarpaulin }
107
+
104
108
- name : Generate coverage file
105
109
if : github.ref == 'refs/heads/master'
106
- run : |
107
- cargo install cargo-tarpaulin
108
- cargo tarpaulin --out Xml --verbose
110
+ run : cargo tarpaulin --out Xml --verbose
109
111
- name : Upload to Codecov
110
112
if : github.ref == 'refs/heads/master'
111
113
uses : codecov/codecov-action@v3
@@ -121,8 +123,9 @@ jobs:
121
123
uses : actions-rust-lang/setup-rust-toolchain@v1
122
124
with : { toolchain: nightly }
123
125
124
- - uses : taiki-e/install-action@v1
125
- with : { tool: cargo-hack, cargo-minimal-versions }
126
+ - name : Install cargo-hack & cargo-minimal-versions
127
+ uses : taiki-e/install-action@v1
128
+ with : { tool: 'cargo-hack,cargo-minimal-versions' }
126
129
127
130
- name : Check With Minimal Versions
128
131
run : cargo minimal-versions check
@@ -137,7 +140,8 @@ jobs:
137
140
uses : actions-rust-lang/setup-rust-toolchain@v1
138
141
139
142
- name : Install cargo-nextest
140
- run : cargo install cargo-nextest
143
+ uses : taiki-e/install-action@v1
144
+ with : { tool: cargo-nextest }
141
145
142
146
- name : Test with cargo-nextest
143
147
run : cargo nextest run
0 commit comments