mirror of
https://github.com/appwrite/sdk-for-flutter.git
synced 2026-04-07 19:27:41 +00:00
fix: install dependencies so analysis options work during format
Because the flutter_lints dev dependency wasn't installed, dart format couldn't resolve the analysis_options.yaml properly and didn't fully format everything correctly.
This commit is contained in:
committed by
Steven Nguyen
parent
d1e9a399d7
commit
cb275409e0
@@ -10,8 +10,6 @@ on:
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: dart:stable
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -19,6 +17,14 @@ jobs:
|
||||
with:
|
||||
persist-credentials: true
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Format Dart code
|
||||
run: dart format .
|
||||
|
||||
Reference in New Issue
Block a user