chore: bump flutter/dart min sdk constraints #170
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: alchemist | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.16.0' | |
channel: 'stable' | |
cache: true | |
- name: Install Dependencies | |
run: flutter packages get | |
- name: Format | |
run: dart format --set-exit-if-changed . | |
- name: Analyze project source | |
uses: invertase/github-action-dart-analyzer@v1 | |
- name: Run tests | |
run: flutter test --no-pub --coverage --test-randomize-ordering-seed=random | |
- name: Upload failures | |
if: failure() | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: "golden_failures" | |
path: | | |
**/failures/**/*.png | |
- uses: codecov/codecov-action@v2 | |
with: | |
files: coverage/lcov.info | |
pana: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.16.0' | |
channel: 'stable' | |
cache: true | |
- name: Install Dependencies | |
run: | | |
flutter packages get | |
flutter pub global activate pana | |
- name: Verify Pub Score | |
run: ./tool/verify_pub_score.sh 130 |