Skip to content

platform-interface

platform-interface #2

Workflow file for this run

name: platform-interface
on:
workflow_dispatch:
branches:
- master
pull_request:
branches: ['master']
paths: ['app_widget_platform_interface/lib/**', 'app_widget_platform_interface/test/**']
push:
branches: ['master']
paths: ['app_widget_platform_interface/lib/**', 'app_widget_platform_interface/test/**']
jobs:
analysis:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app_widget_platform_interface
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3 # checkout to current dir
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: ${{ runner.os }}-flutter-install-cache
cache-path: ${{ runner.tool_cache }}/flutter
- run: flutter pub get
- name: Static Analysis
run: flutter analyze
- name: pub publishable
run: flutter pub publish --dry-run