Skip to content

Commit 8e73ca3

Browse files
committed
Fix validator
1 parent fff2e6f commit 8e73ca3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/validator-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5151

5252
- name: Copy schema files
53-
run: make validator-copy-schema
53+
run: make compile-schema && make validator-copy-schema
5454

5555
- name: Build and push
5656
id: push

.github/workflows/validator-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
# TODO: Publish releases
2929
- name: Build
30-
run: make validator
30+
run: make compile-schema && make validator
3131

3232
- name: Test
3333
run: |

validator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tools: $(GOVULNCHECK)
3434

3535
validator-copy-schema:
3636
mkdir -p ${ROOT_DIR}/schema
37-
find ${PARENT_DIR} -path '*/schema/*.json' ! -path '*/validator/schema/*.json' -exec cp '{}' "${ROOT_DIR}/schema/" ';'
37+
find ${PARENT_DIR} -path '*/schema_out/*.json' ! -path '*/validator/schema/*.json' -exec cp '{}' "${ROOT_DIR}/schema/" ';'
3838

3939
validator: validator-copy-schema
4040
go build -C ${ROOT_DIR} ${ROOT_DIR}

0 commit comments

Comments
 (0)