mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-01 17:15:46 +01:00
Fix the CI to ignore a missing file
This commit is contained in:
parent
507a7bad96
commit
2b1f6a7f11
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@ -124,4 +124,9 @@ jobs:
|
|||||||
- 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
|
||||||
run: cargo fmt --all -- --check
|
# 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
|
||||||
|
# we are going to create an empty file where rustfmt expects it.
|
||||||
|
run: |
|
||||||
|
echo -ne "\n" > benchmarks/benches/datasets_paths.rs
|
||||||
|
cargo fmt --all -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user