From b332f28afe7302e99c55fb9248aa01ab711f786c Mon Sep 17 00:00:00 2001 From: Yelaman Yelmuratov <96978512+K1yoshiSho@users.noreply.github.com> Date: Thu, 9 May 2024 21:51:17 +0500 Subject: [PATCH] . e add dart sdk to github actions --- .github/workflows/build_and_test.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 0e054bc..2f4554a 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -9,18 +9,15 @@ jobs: strategy: fail-fast: true matrix: - python-version: [3.8, 3.9, "3.10", "3.11"] os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4 - - name: Setup Flutter - uses: subosito/flutter-action@v2.12.0 + - name: Set up Dart SDK + uses: dart-lang/setup-dart@v1.4 with: - flutter-version: ${{ steps.get_flutter_version.outputs.version }} - channel: stable - cache: true - cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} + sdk: stable - name: Test run: | ./build_and_test.sh + shell: bash