Skip to content

Merge pull request #37 from bamlab/feat/add-invalid-refresh-token-exc… #49

Merge pull request #37 from bamlab/feat/add-invalid-refresh-token-exc…

Merge pull request #37 from bamlab/feat/add-invalid-refresh-token-exc… #49

name: Test Flutter Reach Five Identity Repo
on:
push:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
branches:
- main
pull_request:
paths:
- "reach_five_identity_repo/**"
- ".github/workflows/reach_five_identity_repo.yaml"
branches:
- main
jobs:
test:
strategy:
matrix: {dir: ["reach_five_identity_repo"]}
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ${{ matrix.dir }}
steps:
- uses: actions/checkout@v3.3.0
- id: dotenv
uses: falti/dotenv-action@v1.0.2
with:
path: .github/workflows/.env
- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: ${{ steps.dotenv.outputs.flutter_version }}
channel: "stable"
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.dotenv.outputs.flutter_version }}
cache-path: ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
- name: Install Dependencies
run: flutter packages get
- name: Format
run: dart format --set-exit-if-changed lib
- name: Analyze
run: flutter analyze lib