fix(models): remove duplicate locked area in post #769
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: Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
env: | |
CI_FLUTTER_VERSION: '3.27.1' | |
jobs: | |
flutter_test: | |
name: Flutter test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{env.CI_FLUTTER_VERSION}} | |
cache: true | |
- run: | | |
sudo apt update -y | |
sudo apt install -y ninja-build libgtk-3-dev sqlite3 libsqlite3-dev | |
- name: Precompile | |
run: | | |
git submodule update --init --recursive --force | |
flutter pub get | |
dart ./Makefile.dart | |
- name: Run flutter analyze | |
run: | | |
flutter analyze --fatal-infos --fatal-warnings lib | |
- name: Run flutter test | |
run: | | |
flutter test |