diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fab42a20..43e5b0f27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,18 +9,20 @@ jobs: check-format: name: Check format using flutter format runs-on: ubuntu-latest - container: cirrusci/flutter:stable + container: + image: ghcr.io/cirruslabs/flutter:latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Check format - run: flutter format -n --set-exit-if-changed . + run: dart format -n --set-exit-if-changed . lint: name: Lint runs-on: ubuntu-latest - container: cirrusci/flutter:stable + container: + image: ghcr.io/cirruslabs/flutter:latest steps: - name: Checkout code @@ -34,7 +36,8 @@ jobs: # test: # name: Test # runs-on: ubuntu-latest -# container: cirrusci/flutter:stable +# container: +# image: ghcr.io/cirruslabs/flutter:latest # # steps: # - name: Checkout code diff --git a/example/pubspec.yaml b/example/pubspec.yaml index eb611c3d6..243f8fc4f 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: '>=2.12.0 <3.0.0' + sdk: ">=3.1.3 <4.0.0" dependencies: threadable_better_player: @@ -24,4 +24,4 @@ dev_dependencies: flutter: assets: - assets/ - uses-material-design: true \ No newline at end of file + uses-material-design: true