Repository navigation
Migrate from codelessly_json_annotation to json_annotation #8
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dart-lang/setup-dart@v1 | |
| with: | |
| sdk: 3.13.5 | |
| - run: dart pub get | |
| - run: dart pub get --directory tool/json_defaults_builder | |
| - name: Generated code is up to date | |
| run: | | |
| dart run build_runner build -d | |
| git diff --exit-code -- '*.g.dart' | |
| - run: dart format --set-exit-if-changed --output=none lib test tool | |
| - run: dart analyze --fatal-infos | |
| - run: dart test | |
| - run: dart pub publish --dry-run |