Skip to content

Commit 5b0f7b3

Browse files
authored
Validate generation more extensively (#2662)
1 parent 899769d commit 5b0f7b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/validate-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Generate specification and check generated types
4848
working-directory: ./elasticsearch-specification
4949
run: |
50-
make generate
50+
make contrib
5151
5252
- name: Download artifacts
5353
working-directory: ./clients-flight-recorder

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ filter-for-serverless: ## Generate the serverless version from the compiled sche
5757
dump-routes: ## Create a new schema with all generics expanded
5858
@npm run dump-routes --prefix compiler
5959

60-
contrib: | generate license-check spec-format-fix transform-to-openapi ## Pre contribution target
60+
contrib: | generate license-check spec-format-fix transform-to-openapi filter-for-serverless ## Pre contribution target
6161

6262
lint-docs: ## Lint the OpenAPI documents
6363
@npx @stoplight/spectral-cli lint output/openapi/*.json --ruleset .spectral.yaml

0 commit comments

Comments
 (0)