Merge branch 'main' into fix/test-case-fix #37
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
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.16.2' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Pub upgrade | |
run: flutter pub upgrade --major-versions | |
- name: Build runner | |
run: dart run build_runner build --delete-conflicting-outputs | |
- name: Run tests | |
run: flutter test | |
- name: Format code | |
run: dart format --fix . |