Skip to content

Commit 768bf04

Browse files
committed
ci: server: verify deps are coherent with the commit
1 parent d8e1507 commit 768bf04

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/server.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ jobs:
5050
with:
5151
fetch-depth: 0
5252

53+
- name: Verify server deps
54+
id: verify_server_deps
55+
run: |
56+
cd examples/server
57+
./deps.sh
58+
not_ignored_files="$(git ls-files --others)"
59+
if [ -n "${not_ignored_files}" ]; then
60+
echo "Repository is dirty or server deps are not built as expected"
61+
echo "${not_ignored_files}"
62+
exit 1
63+
fi
64+
5365
- name: Dependencies
5466
id: depends
5567
run: |

0 commit comments

Comments
 (0)