From c416cf858ef64a3e98125cb9fad0d141265d9d44 Mon Sep 17 00:00:00 2001 From: Bondeth Date: Mon, 19 Oct 2026 22:03:10 +0700 Subject: [PATCH] ci: add GitHub Actions workflow Runs `flutter pub get`, `flutter analyze` and `flutter test` on pushes to main and on pull requests. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..29e2b88 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 + with: + channel: stable + cache: true + - run: flutter pub get + - run: flutter analyze --no-fatal-infos --no-fatal-warnings + - run: flutter test