chore: Add rust cache for CI (#961)
This commit is contained in:
@@ -26,6 +26,7 @@ jobs:
|
||||
run: rustup component add rustfmt
|
||||
- name: Install cargo-hack
|
||||
run: cargo install cargo-hack
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Check fmt
|
||||
run: cargo fmt -- --check
|
||||
- name: Check features
|
||||
@@ -58,6 +59,7 @@ jobs:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- name: Install rustfmt
|
||||
run: rustup component add rustfmt
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: actions/checkout@master
|
||||
- name: Run tests
|
||||
run: cargo test --all --all-features
|
||||
@@ -80,6 +82,7 @@ jobs:
|
||||
- name: Install rustfmt
|
||||
run: rustup component add rustfmt
|
||||
- uses: actions/checkout@master
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Run interop tests
|
||||
run: ./interop/test.sh
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user