Implement Silent Authentication Using Hidden Iframe #35
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check-format: | |
name: Check format using flutter format | |
runs-on: ubuntu-latest | |
container: ghcr.io/cirruslabs/flutter:stable | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install melos | |
run: | | |
flutter pub global activate melos | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH | |
- name: Initialize workspace | |
run: melos bootstrap | |
- name: Check format | |
run: melos exec -- dart format --output=none --set-exit-if-changed . | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
container: ghcr.io/cirruslabs/flutter:stable | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install melos | |
run: | | |
flutter pub global activate melos | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH | |
- name: Initialize workspace | |
run: melos bootstrap | |
- name: Lint using flutter analyze | |
run: melos exec -- flutter analyze |