Skip to content

Commit 529ee35

Browse files
committed
ci: enforce README sync in CI test job
Add a `README up to date` step after `make test` that runs `git diff --exit-code -- README.md` so CI fails when query changes update README.md but the docs change is not committed.
1 parent 56ffbbc commit 529ee35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ jobs:
107107
- name: Run Test
108108
run: make test
109109

110+
- name: README up to date
111+
run: git diff --exit-code -- README.md
112+
110113
- name: Download tsqueryls
111114
run: make tsqueryls
112115

0 commit comments

Comments
 (0)