Skip to content

Not Zero core rework #44

Not Zero core rework

Not Zero core rework #44

Workflow file for this run

name: Analyze and check app
on:
pull_request:
jobs:
check:
name: Check application
runs-on: ubuntu-latest
steps:
### INITIAL ###
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.1'
channel: stable
cache: true
- uses: actions/cache@v3
with:
path: |
~/.pub-cache/git
~/.pub-cache/hosted
### PREPARATION ###
- name: Check flutter installation
run: flutter --version
- name: Get dependencies
run: dart run melos bootstrap
### ANALYSIS ###
- name: Ensure that code is formatted correctly
run: dart run melos format --set-exit-if-changed --output none $(git ls-files | grep --colour=never -e ".*\.dart")
- name: Analyze code to find critical problems
run: dart run melos exec flutter analyze --no-fatal-infos
# ### TESTS ###
# - name: Run tests
# run: make test