Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ typo_tolerance_guide_3: |-
disable_on_words: Some(vec!["shrek".to_string()]),
min_word_size_for_typos: Some(min_word_size_for_typos),
};

let task: TaskInfo = client
.index("movies")
.set_typo_tolerance(&typo_tolerance)
Expand Down Expand Up @@ -1337,7 +1337,7 @@ faceted_search_2: |-
.build();
let search_query_3 = SearchQuery::new(&books)
.with_facets(Selectors::Some(&["genres"]))
.with_filter("language = English OR language = French")
.with_filter("language = English OR language = French")
.build();

let books_response = client
Expand Down Expand Up @@ -1632,7 +1632,7 @@ multi_search_1: |-
.build();
let search_query_2 = SearchQuery::new(&movie)
.with_query("nemo")
.with_limit(5)
.with_limit(5)
.build();

let movie_response = client
Expand Down
36 changes: 18 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
labels:
- 'skip-changelog'
- 'dependencies'
rebase-strategy: disabled
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
labels:
- 'skip-changelog'
- 'dependencies'
rebase-strategy: disabled

- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
labels:
- skip-changelog
- dependencies
rebase-strategy: disabled
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
labels:
- skip-changelog
- dependencies
rebase-strategy: disabled
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,12 @@ jobs:
run: |
rustup target add wasm32-unknown-unknown
cargo check -p web_app --target wasm32-unknown-unknown
yaml-lint:
name: Yaml linting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Yaml lint check
uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yml
9 changes: 9 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
extends: default
ignore: |
node_modules
rules:
comments-indentation: disable
line-length: disable
document-start: disable
brackets: disable
truthy: disable
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ sh scripts/check-readme.sh --diff

If it's not, the CI will fail on your PR.

### Yaml lint

To check if your `yaml` files are correctly formatted, you need to [install yamllint](https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint) and then run `yamllint .`

## Git Guidelines

### Git Branches <!-- omit in toc -->
Expand Down