Skip to content

chore(mason_api): update documentation in pubspec.yaml #170

chore(mason_api): update documentation in pubspec.yaml

chore(mason_api): update documentation in pubspec.yaml #170

Workflow file for this run

name: mason_api
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
paths:
- .github/workflows/mason_api.yaml
- packages/mason_api/**
pull_request:
branches:
- master
paths:
- .github/workflows/mason_api.yaml
- packages/mason_api/**
jobs:
build:
defaults:
run:
working-directory: packages/mason_api
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed lib
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v3
with:
path: packages/mason_api/coverage/lcov.info
pana:
defaults:
run:
working-directory: packages/mason_api
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: |
dart pub get
dart pub global activate pana
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh