fix incorrect release #28
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: 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 |