Added schema for /_plugins/_knn/stats
, /_plugins/_knn/models/{model_id}
, _train
and _search
.
#291
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style | |
on: [pull_request] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Prepare for Vale (spec) | |
run: npm run style:prepare -- --source spec | |
- name: Prepare for Vale (test) | |
run: npm run style:prepare -- --source tests | |
- name: Check Style | |
uses: errata-ai/vale-action@v2.1.1 | |
with: | |
version: 3.7.1 | |
vale_flags: --ignore-syntax | |
files: '["spec", "tests"]' |