From 7a7367583bd3f400cc583d59cc2444d539c518a3 Mon Sep 17 00:00:00 2001 From: B-Dandelion Date: Tue, 20 Oct 2026 18:31:43 +0900 Subject: [PATCH] ci: run Flutter analyze and tests on every push and PR Add a GitHub Actions workflow pinned to Flutter 3.47.5 (the version used for releases) and show its status badge in the README. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/flutter-ci.yml | 20 ++++++++++++++++++++ README.md | 1 + 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/flutter-ci.yml diff --git a/.github/workflows/flutter-ci.yml b/.github/workflows/flutter-ci.yml new file mode 100644 index 00000000..c638f779 --- /dev/null +++ b/.github/workflows/flutter-ci.yml @@ -0,0 +1,20 @@ +name: Flutter CI + +on: + push: + branches: [main] + pull_request: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 + with: + flutter-version: 3.47.5 + channel: stable + cache: true + - run: flutter pub get + - run: flutter analyze + - run: flutter test diff --git a/README.md b/README.md index 74044772..2479e59f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ ยท Current release: v3.3.1

+

Flutter CI

---