use rust cache

This commit is contained in:
Takayuki Maeda 2023-01-14 20:07:09 +09:00
parent 7ff044cef6
commit 4aae8a5088

View file

@ -39,16 +39,7 @@ jobs:
- name: Run Rustfmt
run: cargo fmt -- --check
- name: Cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
- uses: Swatinem/rust-cache@v2
- name: Run tests with all features
run: cargo make ci