diff --git a/.github/workflows/spotify_sdk.yml b/.github/workflows/spotify_sdk.yml index 6f42a21c..42b3c0b2 100644 --- a/.github/workflows/spotify_sdk.yml +++ b/.github/workflows/spotify_sdk.yml @@ -5,12 +5,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: subosito/flutter-action@v1.5.3 + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' - name: Install Dependencies run: flutter packages get - name: Format - run: flutter format --set-exit-if-changed lib test example + run: dart format --set-exit-if-changed lib test example - name: Analyze run: flutter analyze lib test example - name: Publish dry run diff --git a/example/lib/main.dart b/example/lib/main.dart index d27b3725..cb3bf85b 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/spotify_sdk.dart b/lib/spotify_sdk.dart index b089c294..d3add386 100644 --- a/lib/spotify_sdk.dart +++ b/lib/spotify_sdk.dart @@ -1,6 +1,5 @@ import 'dart:async'; import 'dart:convert'; -import 'dart:typed_data'; import 'package:flutter/services.dart'; import 'package:logger/logger.dart';