diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index d3bb5cc..47c2419 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -16,7 +16,7 @@ jobs: name: Generate matrix from pubspec.yaml uses: flutter-actions/pubspec-matrix-action@v1 with: - pubspec: "pubspec.yaml" + channel: "stable" outputs: matrix: ${{ steps.pubspec.outputs.matrix }} @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: flutter-actions/setup-flutter@v3 with: @@ -36,6 +36,9 @@ jobs: - run: flutter --version + - run: dart pub add dev:lints + - run: dart pub add dev:test + - name: Install dependencies run: flutter pub get diff --git a/pubspec.yaml b/pubspec.yaml index e143b44..10544d8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,12 +3,13 @@ description: the better router is a powerful, but for humans, flutter router. version: 2.1.0 repository: https://github.com/dukex/better_router environment: - sdk: '>=2.17.5 <4.0.0' + sdk: ">=2.17.5" + flutter: ">=3.0.3" dependencies: flutter: sdk: flutter dev_dependencies: - lints: ^2.0.0 - test: ^1.16.0 + lints: ^4.0.0 + test: ^1.25.2 flutter_test: sdk: flutter