chore(deps): upgrade to package:mocktail
v1.0.0
#803
Workflow file for this run
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: angular_bloc | |
on: | |
push: | |
paths: | |
- "packages/angular_bloc/**" | |
- ".github/workflows/angular_bloc.yaml" | |
pull_request: | |
paths: | |
- "packages/angular_bloc/**" | |
- ".github/workflows/angular_bloc.yaml" | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: packages/angular_bloc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: 3.0.0 | |
- name: Install Dependencies | |
run: dart pub get | |
- name: Format | |
run: dart format --set-exit-if-changed . | |
- 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@v2 | |
with: | |
path: packages/angular_bloc/coverage/lcov.info | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
pana: | |
defaults: | |
run: | |
working-directory: packages/angular_bloc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
- name: Install Dependencies | |
run: | | |
flutter packages get | |
flutter pub global activate pana | |
sudo apt-get install webp | |
- name: Verify Pub Score | |
run: ../../tool/verify_pub_score.sh 110 |