Add CI workflow and pre-commit/pre-push hooks for Dart project

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-05-13 12:34:03 +02:00
parent eaeabb8c40
commit 8e529faccf
3 changed files with 202 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env sh
set -eu
printf '%s\n' 'Running pre-push checks: dart format + dart test'
dart format --output=none --set-exit-if-changed .
dart test
printf '%s\n' 'Pre-push checks passed.'