Skip to content

Commit

Permalink
ci flutter version aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
Shock@5678 committed Aug 15, 2024
1 parent 09e3724 commit 77d5137
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,42 @@ jobs:
strategy:
matrix:
platform: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{matrix.platform}}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
java-version: '12.x'
- uses: subosito/flutter-action@v3
with:
# Temporary fix to failing CI
flutter-version: '3.3.0'
flutter-version: '3.22.2'
architecture: x64
# channel: "stable"
- run: flutter pub get
- run: dart format . --set-exit-if-changed
- run: flutter analyze .
- run: flutter analyze
- run: flutter test

build:
strategy:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{matrix.platform}}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
java-version: '12.x'
- uses: subosito/flutter-action@v3
with:
# Temporary fix to failing CI
flutter-version: '3.3.0'
flutter-version: '3.22.2'
architecture: x64
# channel: "stable"
- run: flutter pub get
- run: dart format . --set-exit-if-changed
- run: flutter analyze .
- run: flutter analyze
- run: flutter test
# Uncomment the following lines if you want to build and upload artifacts
# - run: flutter build apk
# - uses: actions/upload-artifact@v1
# - uses: actions/upload-artifact@v3
# with:
# name: release-apk
# path: build/app/outputs/apk/release/app-release.apk

0 comments on commit 77d5137

Please sign in to comment.