Skip to content

chore: bump build_runner from 2.4.13 to 2.4.14 #42

chore: bump build_runner from 2.4.13 to 2.4.14

chore: bump build_runner from 2.4.13 to 2.4.14 #42

name: pubspec_version_cli
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- ".github/workflows/pubspec_version_cli.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"
push:
branches:
- main
paths:
- ".github/workflows/pubspec_version_cli.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: 📦 Install Dependencies
run: flutter pub get
- name: ✨ Check Formatting
run: dart format --set-exit-if-changed .
- name: 🕵️ Analyze
run: dart analyze --fatal-infos --fatal-warnings lib test bin
- 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
- name: 📊 Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v3
with:
min_coverage: 90
pana:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
verify-version:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: 📦 Install Dependencies
run: |
flutter pub get
- name: 🔎 Verify version
run: dart run test --run-skipped -t version-verify