Skip to content

Feat/add refresh when network available #40

Feat/add refresh when network available

Feat/add refresh when network available #40

Workflow file for this run

name: Pull request checks
on:
pull_request:
branches: [main]
workflow_call:
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- id: dotenv
uses: falti/[email protected]
with:
path: .github/workflows/.env
- name: 💙 Install Flutter
uses: subosito/[email protected]
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
uses: bluefireteam/melos-action@v1
- name: 🧐 Analyze
run: melos analyze
test-extensions:
needs: analyze
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- id: dotenv
uses: falti/[email protected]
with:
path: .github/workflows/.env
- name: 💙 Install Flutter
uses: subosito/[email protected]
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 pub get
- name: ✅ Run tests
run: flutter test --coverage --no-pub --test-randomize-ordering-seed random
- name: 💯 Check coverage
uses: VeryGoodOpenSource/very_good_coverage@v3