Skip to content

Update parent readme (#212) #852

Update parent readme (#212)

Update parent readme (#212) #852

Workflow file for this run

name: Packages check
concurrency:
group: packages-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
channel: "stable"
- name: Install Melos
run: flutter pub global activate melos
- name: Install dependencies
run: melos prepare
- name: Check formatting
run: melos format:check:packages
- name: Lint
run: melos analyze:packages
- name: Publish dry-run
run: melos publish --dry-run --yes
pana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
channel: "stable"
- name: Install Melos
run: flutter pub global activate melos
- name: Install dependencies
run: melos prepare
- name: Check pana score
run: |
flutter pub global activate pana
melos analyze:packages:pana --no-select
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.x"
channel: "stable"
- name: Install melos
run: flutter pub global activate melos
- name: Install dependencies and prepare project
run: melos prepare
- name: Run flutter tests
run: melos test
- name: Run dart tests
run: melos test:web