From b78d4a6da110368aa32b3dc7975a104727a91536 Mon Sep 17 00:00:00 2001 From: Justin Tout <3639630+justintout@users.noreply.github.com> Date: Mon, 14 Sep 2026 23:06:25 -0400 Subject: [PATCH] Run analyze, format, and tests on every push and pull request Issue #8's thread asked for CI on pull requests. The repo had no workflow, so regressions like the failing "the bug" test could sit unnoticed. --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..dd41ac0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: test + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dart-lang/setup-dart@v1 + - run: dart pub get + - run: dart analyze --fatal-warnings + - run: dart format --output=none --set-exit-if-changed . + - run: dart test