Fix prefer_final_locals and update analyzer #8
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: Integration mek_data_class | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
working-directory: mek_data_class | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: 3.0.0 | |
- name: Resolve dependencies | |
run: dart pub get | |
timeout-minutes: 2 | |
- name: Check code formatting | |
run: >- | |
dart format --line-length 100 --set-exit-if-changed --output none | |
$(find . ! -path "./.dart_tool/**" ! -path "./build/**" -name "*.dart" ! -name "*.g.dart") | |
- name: Analyze code | |
run: dart analyze |