@@ -55,12 +55,12 @@ jobs:
5555 with :
5656 toolchain : stable
5757 override : true
58- - uses : Swatinem/rust-cache@v2
5958 - name : Run cargo clippy
6059 uses : actions-rs/cargo@v1
6160 with :
6261 command : clippy
6362 args : --all-features
63+ - uses : Swatinem/rust-cache@v2
6464
6565 fmt :
6666 name : Rustfmt check
7474 toolchain : nightly
7575 components : rustfmt
7676 - run : cargo +nightly fmt --check --all
77+ - uses : Swatinem/rust-cache@v2
7778
7879 test :
7980 name : Run tests
@@ -98,12 +99,12 @@ jobs:
9899 with :
99100 toolchain : ${{ matrix.rust }}
100101 override : true
101- - uses : Swatinem/rust-cache@v2
102102 - name : Run cargo test
103103 uses : actions-rs/cargo@v1
104104 with :
105105 command : test
106106 args : --all-features --no-fail-fast
107+ - uses : Swatinem/rust-cache@v2
107108
108109 no-std :
109110 name : Test no-std support
@@ -117,12 +118,12 @@ jobs:
117118 with :
118119 toolchain : stable
119120 override : true
120- - uses : Swatinem/rust-cache@v2
121121 - name : Run cargo test
122122 uses : actions-rs/cargo@v1
123123 with :
124124 command : test
125125 args : --no-default-features --features "colored, float-cmp, num-bigint, rust-decimal, bigdecimal"
126+ - uses : Swatinem/rust-cache@v2
126127
127128 msrv :
128129 name : Build with MSRV
@@ -159,9 +160,9 @@ jobs:
159160 with :
160161 toolchain : nightly
161162 override : true
162- - uses : Swatinem/rust-cache@v2
163163 - name : Run cargo doc
164164 uses : actions-rs/cargo@v1
165165 with :
166166 command : doc
167167 args : --all-features --no-deps
168+ - uses : Swatinem/rust-cache@v2
0 commit comments