Skip to content

Dashboard sliders

Dashboard sliders #253

Workflow file for this run

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