chore: bump test from 1.25.11 to 1.25.13 #44
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: 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 |