We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f2dbc commit 46e178dCopy full SHA for 46e178d
2 files changed
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: CI
2
+on:
3
+ push: { branches: [ main ] }
4
+ pull_request:
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ flutter: [ '3.24.0', 'stable' ] # 3.24.0 = Dart 3.5系, stable = 最新
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: subosito/flutter-action@v2
14
+ with:
15
+ flutter-version: ${{ matrix.flutter }}
16
+ - run: flutter --version && dart --version
17
+ - run: flutter pub get
18
+ - run: dart analyze
19
+ - run: flutter test
20
+ - name: Example
21
+ working-directory: example
22
+ run: |
23
+ flutter pub get
24
+ dart analyze
25
+ flutter test
pubspec.yaml
@@ -15,7 +15,7 @@ topics:
- api
environment:
- sdk: ">=3.8.0 <4.0.0"
+ sdk: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
dependencies:
0 commit comments