|
|
@ -29,19 +29,19 @@ jobs:
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo index
|
|
|
|
- name: Cache cargo index
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/git
|
|
|
|
path: ~/.cargo/git
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: target
|
|
|
|
path: target
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run cargo check
|
|
|
|
- name: Run cargo check
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
@ -68,19 +68,19 @@ jobs:
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo index
|
|
|
|
- name: Cache cargo index
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/git
|
|
|
|
path: ~/.cargo/git
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: target
|
|
|
|
path: target
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run cargo test
|
|
|
|
- name: Run cargo test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
@ -108,19 +108,19 @@ jobs:
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
path: ~/.cargo/registry
|
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo index
|
|
|
|
- name: Cache cargo index
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo/git
|
|
|
|
path: ~/.cargo/git
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
- name: Cache cargo target dir
|
|
|
|
uses: actions/cache@v1
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: target
|
|
|
|
path: target
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run cargo fmt
|
|
|
|
- name: Run cargo fmt
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|