Skip to content

feat: 3.5.0対応の為にlintバージョンを5.0.0へ変更 #3

feat: 3.5.0対応の為にlintバージョンを5.0.0へ変更

feat: 3.5.0対応の為にlintバージョンを5.0.0へ変更 #3

Workflow file for this run

# .github/workflows/ci.yml
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
# stable(最新)用:channelのみ指定
- uses: subosito/flutter-action@v2
if: ${{ matrix.flutter == 'stable' }}
with:
channel: stable
# 固定バージョン用:flutter-versionを指定(必要ならchannelもstable)
- uses: subosito/flutter-action@v2
if: ${{ matrix.flutter != 'stable' }}
with:
channel: stable
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