From 0b705de65d6594977f3198f58a31f4e1fca46b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Tue, 18 Feb 2025 17:09:23 +0800 Subject: [PATCH] ci: add pull-request --- .github/workflows/pull-request.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 000000000..01028711b --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,19 @@ +name: MAIN_PULL_REQUEST + +on: + pull_request: + branches: [develop, main] + types: [opened, synchronize, reopened] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: subosito/flutter-action@v2 + with: + channel: dev + - run: flutter pub get + - run: flutter test + - run: flutter build apk