Skip to content

Commit f32b3a0

Browse files
committed
ci: verify JSON vector formatting
By running `tools/reformat_json.py` and verifying no diff is produced.
1 parent 032c5b4 commit f32b3a0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/vectorlint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ jobs:
2929
exit 1
3030
fi
3131
32-
- name: Verify formatting
32+
- name: Verify Go formatting
3333
# 'gofmt -l .' to list files whose formatting differs from gofmt's
3434
# 'test -z' to verify that the output is empty
3535
run: test -z "$(gofmt -l .)"
3636

37+
- name: Verify JSON formatting
38+
run: ./tools/reformat_json.py && git diff --exit-code
39+
3740
- name: Run vectorlint
3841
run: go run ./tools/vectorlint

0 commit comments

Comments
 (0)