Bump mason_logger from 0.2.16 to 0.3.2 #19
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: rabbit | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/rabbit.yaml" | |
- "lib/**" | |
- "test/**" | |
- "pubspec.yaml" | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/rabbit.yaml" | |
- "lib/**" | |
- "test/**" | |
- "pubspec.yaml" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [3.24, 3.27, 3.22] | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: 🐦 Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ matrix.version }} | |
cache: true | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} | |
- name: 📦 Install Dependencies | |
run: flutter pub get | |
- name: ✨ Check Formatting | |
run: dart format --set-exit-if-changed . | |
- name: 🕵️ Analyze | |
run: flutter analyze --fatal-infos --fatal-warnings . | |
- name: 🧪 Test | |
run: dart test | |
- name: 📚 Test Example | |
working-directory: example | |
run: flutter test | |
spell-check: | |
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1 | |
with: | |
includes: | | |
**/*.md | |
!brick/**/*.md | |
.*/**/*.md | |
modified_files_only: false | |
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" | |
- name: 📦 Install Dependencies | |
run: | | |
flutter pub get | |
- name: 🔎 Verify version | |
run: flutter pub run test --run-skipped -t version-verify |