chore(vscode): v6.6.4 (#3923) #2460
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: flutter_examples | |
on: | |
push: | |
paths: | |
- ".github/workflows/flutter_examples.yaml" | |
- "packages/flutter_bloc/**" | |
- "examples/flutter_bloc_with_stream/**" | |
- "examples/flutter_complex_list/**" | |
- "examples/flutter_counter/**" | |
- "examples/flutter_dynamic_form/**" | |
- "examples/flutter_firebase_login/**" | |
- "examples/flutter_form_validation/**" | |
- "examples/flutter_infinite_list/**" | |
- "examples/flutter_login/**" | |
- "examples/flutter_shopping_cart/**" | |
- "examples/flutter_timer/**" | |
- "examples/flutter_todos/**" | |
- "examples/flutter_weather/**" | |
- "examples/flutter_wizard/**" | |
- "examples/github_search/flutter_github_search/**" | |
pull_request: | |
paths: | |
- ".github/workflows/flutter_examples.yaml" | |
- "packages/flutter_bloc/**" | |
- "examples/flutter_bloc_with_stream/**" | |
- "examples/flutter_complex_list/**" | |
- "examples/flutter_counter/**" | |
- "examples/flutter_dynamic_form/**" | |
- "examples/flutter_firebase_login/**" | |
- "examples/flutter_form_validation/**" | |
- "examples/flutter_infinite_list/**" | |
- "examples/flutter_login/**" | |
- "examples/flutter_shopping_cart/**" | |
- "examples/flutter_timer/**" | |
- "examples/flutter_todos/**" | |
- "examples/flutter_weather/**" | |
- "examples/flutter_wizard/**" | |
- "examples/github_search/flutter_github_search/**" | |
jobs: | |
examples: | |
strategy: | |
matrix: | |
folder: | |
[ | |
"packages/flutter_bloc/example", | |
"examples/flutter_bloc_with_stream", | |
"examples/flutter_complex_list", | |
"examples/flutter_counter", | |
"examples/flutter_dynamic_form", | |
"examples/flutter_firebase_login", | |
"examples/flutter_form_validation", | |
"examples/flutter_infinite_list", | |
"examples/flutter_login", | |
"examples/flutter_shopping_cart", | |
"examples/flutter_timer", | |
"examples/flutter_todos", | |
"examples/flutter_todos/packages/local_storage_todos_api", | |
"examples/flutter_todos/packages/todos_api", | |
"examples/flutter_todos/packages/todos_repository", | |
"examples/flutter_weather", | |
"examples/flutter_wizard", | |
"examples/github_search/flutter_github_search", | |
] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2.10.0 | |
- name: Install Dependencies | |
working-directory: ${{ matrix.folder }} | |
run: flutter packages get | |
- name: Format | |
working-directory: ${{ matrix.folder }} | |
run: dart format --set-exit-if-changed lib | |
- name: Analyze | |
working-directory: ${{ matrix.folder }} | |
run: flutter analyze lib | |
- name: Run tests | |
working-directory: ${{ matrix.folder }} | |
run: | | |
if [ -d "test" ]; then | |
flutter test --no-pub --test-randomize-ordering-seed random | |
fi | |
build: | |
needs: [examples] | |
runs-on: ubuntu-latest | |
steps: | |
- name: noop | |
run: echo 'noop' |