File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 2929 toolchain : ${{ matrix.rust }}
3030 override : true
3131
32+ - name : Cache cargo registry
33+ uses : actions/cache@v1
34+ with :
35+ path : ~/.cargo/registry
36+ key : ${{ matrix.os }}-${{ matrix.rust }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}
37+
38+ - name : Cache cargo index
39+ uses : actions/cache@v1
40+ with :
41+ path : ~/.cargo/git
42+ key : ${{ matrix.os }}-${{ matrix.rust }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}
43+
44+ - name : Cache cargo build
45+ uses : actions/cache@v1
46+ with :
47+ path : target
48+ key : ${{ matrix.os }}-${{ matrix.rust }}-cargo-build-target-${{ hashFiles('**/Cargo.toml') }}
49+
3250 - name : check
3351 uses : actions-rs/cargo@v1
3452 with :
6684 command : test
6785 args : --all --features "unstable attributes"
6886
69- - name : documentation test
70- uses : actions-rs/cargo@v1
71- with :
72- command : test
73- args : --doc --features "unstable attributes"
74-
7587 build__with_no_std :
7688 name : Build with no-std
7789 runs-on : ubuntu-latest
@@ -117,15 +129,3 @@ jobs:
117129
118130 - name : Docs
119131 run : cargo doc --features docs
120-
121- # clippy_check:
122- # name: Clippy check
123- # runs-on: ubuntu-latest
124- # steps:
125- # - uses: actions/checkout@v1
126- # - name: Install rust
127- # run: rustup update beta && rustup default beta
128- # - name: Install clippy
129- # run: rustup component add clippy
130- # - name: clippy
131- # run: cargo clippy --all --features unstable
You can’t perform that action at this time.
0 commit comments