Skip to content

Commit

Permalink
refactor: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolantean committed Sep 28, 2023
1 parent ebcaca8 commit 2c757cd
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,65 +13,52 @@ jobs:
working-directory: ./supabase-ws-flutter-mobile
steps:
- uses: actions/checkout@v3
working-directory: ./supabase-ws-flutter-mobile
- uses: actions/setup-java@v3
working-directory: ./supabase-ws-flutter-mobile
with:
distribution: 'zulu'
java-version: '11'
- uses: dart-lang/[email protected]
working-directory: ./supabase-ws-flutter-mobile
- uses: subosito/flutter-action@v2
working-directory: ./supabase-ws-flutter-mobile
with:
channel: 'stable'
cache: true
- name: Cache FVM & Flutter
uses: actions/cache@v3
working-directory: ./supabase-ws-flutter-mobile
with:
path: /home/runner/fvm/versions/
key: ${{ runner.os }}-${{ hashFiles('**/fvm_config.json') }}
- name: Cache pub cache
uses: actions/cache@v3
working-directory: ./supabase-ws-flutter-mobile
with:
path: /home/runner/.pub-cache/
key: ${{ runner.os }}-pub-cache
- name: Install FVM && Flutter
working-directory: ./supabase-ws-flutter-mobile
run: dart pub global activate fvm --verbose && fvm install --verbose && fvm use --force --verbose
- uses: ruby/setup-ruby@v1
working-directory: ./supabase-ws-flutter-mobile
with:
bundler-cache: true
subdirectory: 'supabase-ws-flutter-mobile'
- name: Activate arb_utils
working-directory: ./supabase-ws-flutter-mobile
run: |
dart pub global activate arb_utils
- name: Get dependencies
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'fetch_dependencies'
- name: 'Run lints'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'lints'
- name: 'Check generated code'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'ensure_no_change_in_generated_code'
- name: 'Run tests'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'tests'
- name: 'Build android app'
uses: maierj/[email protected]
working-directory: ./supabase-ws-flutter-mobile
with:
lane: 'android build_dev_debug_apk'
subdirectory: 'android'

0 comments on commit 2c757cd

Please sign in to comment.