Skip to content

Commit

Permalink
Setup Flutter in check-semver.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
piotruela committed Sep 20, 2024
1 parent 9617e52 commit 11e0ece
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/check-semver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
name: Check semver
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
flutter-version: ['3.22.x']
flutter-channel: ['stable']

steps:
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -24,10 +30,11 @@ jobs:
echo "last_version=$last_version" >> $GITHUB_ENV
echo "::set-output name=last_version::$last_version"
- name: Set up Dart
uses: dart-lang/setup-dart@v1
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
sdk: stable
flutter-version: ${{ matrix.flutter-version }}
channel: ${{ matrix.flutter-channel }}

- name: Install dart-apitool
run: dart pub global activate dart_apitool
Expand Down

0 comments on commit 11e0ece

Please sign in to comment.