|
|
@ -19,21 +19,14 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
- name: Cache cargo registry |
|
|
|
- name: Cache cargo |
|
|
|
uses: actions/cache@v2 |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: ~/.cargo/registry |
|
|
|
path: | |
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
target |
|
|
|
- name: Cache cargo index |
|
|
|
~/.cargo/git |
|
|
|
uses: actions/cache@v2 |
|
|
|
~/.cargo/registry |
|
|
|
with: |
|
|
|
key: ${{ runner.os }}-cargo-check-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
path: ~/.cargo/git |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Cache cargo build |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: check |
|
|
|
command: check |
|
|
@ -49,6 +42,11 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
|
|
|
|
- name: Cache cargo build |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-windows-check-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: check |
|
|
|
command: check |
|
|
@ -64,6 +62,11 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
|
|
|
|
- name: Cache cargo build |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-macos-check-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: check |
|
|
|
command: check |
|
|
@ -79,21 +82,14 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
- name: Cache cargo registry |
|
|
|
- name: Cache cargo |
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: ~/.cargo/registry |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Cache cargo index |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: ~/.cargo/git |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Cache cargo build |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: target |
|
|
|
path: | |
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
target |
|
|
|
|
|
|
|
~/.cargo/git |
|
|
|
|
|
|
|
~/.cargo/registry |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: test |
|
|
|
command: test |
|
|
@ -115,6 +111,11 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
|
|
|
|
- name: Cache cargo |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-windows-test-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: test |
|
|
|
command: test |
|
|
@ -130,6 +131,11 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
|
|
|
|
- name: Cache cargo |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-macos-test-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: test |
|
|
|
command: test |
|
|
@ -162,21 +168,14 @@ jobs: |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
components: clippy |
|
|
|
components: clippy |
|
|
|
- name: Cache cargo registry |
|
|
|
- name: Cache cargo |
|
|
|
uses: actions/cache@v2 |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: ~/.cargo/registry |
|
|
|
path: | |
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
target |
|
|
|
- name: Cache cargo index |
|
|
|
~/.cargo/git |
|
|
|
uses: actions/cache@v2 |
|
|
|
~/.cargo/registry |
|
|
|
with: |
|
|
|
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
path: ~/.cargo/git |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Cache cargo build |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: clippy |
|
|
|
command: clippy |
|
|
@ -192,21 +191,14 @@ jobs: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
override: true |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
- name: Cache cargo registry |
|
|
|
- name: Cache cargo |
|
|
|
uses: actions/cache@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: ~/.cargo/registry |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Cache cargo index |
|
|
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: ~/.cargo/git |
|
|
|
path: | |
|
|
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
target |
|
|
|
- name: Cache cargo build |
|
|
|
~/.cargo/git |
|
|
|
uses: actions/cache@v2 |
|
|
|
~/.cargo/registry |
|
|
|
with: |
|
|
|
key: ${{ runner.os }}-cargo-doc-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
path: target |
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} |
|
|
|
|
|
|
|
- name: Generate documentation |
|
|
|
- name: Generate documentation |
|
|
|
uses: actions-rs/cargo@v1 |
|
|
|
uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|