feat: sdkサポートバージョンを引き下げして担保する為のciを作成 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: { branches: [ main ] } | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| flutter: [ '3.24.0', 'stable' ] # 3.24.0 = Dart 3.5系, stable = 最新 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ matrix.flutter }} | |
| - run: flutter --version && dart --version | |
| - run: flutter pub get | |
| - run: dart analyze | |
| - run: flutter test | |
| - name: Example | |
| working-directory: example | |
| run: | | |
| flutter pub get | |
| dart analyze | |
| flutter test |