mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Enable cache again in test suite CI
This commit is contained in:
parent
7935bef4cd
commit
f45daf8031
21
.github/workflows/test-suite.yml
vendored
21
.github/workflows/test-suite.yml
vendored
@ -42,9 +42,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
# Disable cache due to disk space issues with Windows workers in CI
|
- name: Cache dependencies
|
||||||
# - name: Cache dependencies
|
uses: Swatinem/rust-cache@v2.2.0
|
||||||
# uses: Swatinem/rust-cache@v2.2.0
|
|
||||||
- name: Run cargo check without any default features
|
- name: Run cargo check without any default features
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -65,8 +64,8 @@ jobs:
|
|||||||
os: [macos-12, windows-2022]
|
os: [macos-12, windows-2022]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.2.0
|
uses: Swatinem/rust-cache@v2.2.0
|
||||||
- name: Run cargo check without any default features
|
- name: Run cargo check without any default features
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -123,8 +122,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.2.0
|
uses: Swatinem/rust-cache@v2.2.0
|
||||||
- name: Run tests in debug
|
- name: Run tests in debug
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -142,8 +141,8 @@ jobs:
|
|||||||
toolchain: 1.67.0
|
toolchain: 1.67.0
|
||||||
override: true
|
override: true
|
||||||
components: clippy
|
components: clippy
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.2.0
|
uses: Swatinem/rust-cache@v2.2.0
|
||||||
- name: Run cargo clippy
|
- name: Run cargo clippy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -162,8 +161,8 @@ jobs:
|
|||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.2.0
|
uses: Swatinem/rust-cache@v2.2.0
|
||||||
- name: Run cargo fmt
|
- name: Run cargo fmt
|
||||||
# Since we never ran the `build.rs` script in the benchmark directory we are missing one auto-generated import file.
|
# Since we never ran the `build.rs` script in the benchmark directory we are missing one auto-generated import file.
|
||||||
# Since we want to trigger (and fail) this action as fast as possible, instead of building the benchmark crate
|
# Since we want to trigger (and fail) this action as fast as possible, instead of building the benchmark crate
|
||||||
|
Loading…
Reference in New Issue
Block a user