mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Merge #2868
2868: Uncomment cache steps in Github CI r=curquiza a=AM1TB # Pull Request Uncomment cache steps as they were previously affected by an issue with Github actions: https://www.githubstatus.com/incidents/gq1x0j8bv67v ## Related issue Fixes #2864 ## What does this PR do? - Reintroduce the rust-cache steps within Github CI. ## PR checklist Please check if your PR fulfills the following requirements: - [X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [X] Have you read the contributing guidelines? - [X] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Amit Banerjee <amit.banerjee.jsr@gmail.com>
This commit is contained in:
commit
c5cd743eb6
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
@ -24,8 +24,8 @@ jobs:
|
|||||||
os: [ubuntu-18.04, macos-latest, windows-latest]
|
os: [ubuntu-18.04, macos-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.0.0
|
uses: Swatinem/rust-cache@v2.0.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:
|
||||||
@ -48,8 +48,8 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.0.0
|
uses: Swatinem/rust-cache@v2.0.0
|
||||||
- name: Run tests in debug
|
- name: Run tests in debug
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -67,8 +67,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
components: clippy
|
components: clippy
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.0.0
|
uses: Swatinem/rust-cache@v2.0.0
|
||||||
- name: Run cargo clippy
|
- name: Run cargo clippy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -86,7 +86,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
# - name: Cache dependencies
|
- name: Cache dependencies
|
||||||
# uses: Swatinem/rust-cache@v2.0.0
|
uses: Swatinem/rust-cache@v2.0.0
|
||||||
- name: Run cargo fmt
|
- name: Run cargo fmt
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user