Added ability to set default view preset #520
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: Analyzer | |
# Analyzes the project on every pull request. | |
# See analysis_options.yaml for lint configuration. | |
on: [pull_request, merge_group] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./repo | |
steps: | |
- name: Cache Flutter | |
id: cache-flutter | |
uses: actions/cache@v2 | |
with: | |
path: flutter/ | |
key: ${{ runner.os }}-flutter | |
- name: Install Flutter | |
if: steps.cache-flutter.outputs.cache-hit != 'true' | |
uses: britannio/[email protected] | |
- uses: actions/checkout@v2 | |
with: | |
path: repo # keeps Flutter separate from repo | |
submodules: recursive | |
# Has to be after checkout since repo won't exist | |
- name: Add Flutter to path | |
run: echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH | |
# - name: Generate Protobuf files | |
# run: | | |
# flutter clean | |
# flutter pub get | |
# dart run build_runner build | |
- name: Analyze | |
run: flutter analyze --dartdocs |