Skip to content

support latest version of package:analyzer, fix support for freezed classes #25

support latest version of package:analyzer, fix support for freezed classes

support latest version of package:analyzer, fix support for freezed classes #25

Workflow file for this run

name: Dart CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Check formatting
run: dart format . --set-exit-if-changed
lint:
name: Check lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- run: dart pub get
- run: |
dart pub get
dart pub run build_runner build
working-directory: crimson_test
- name: Lint
run: dart analyze --fatal-infos
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Run Unit tests
run: |
dart pub get
dart pub run build_runner build
dart test
working-directory: crimson_test