Update specification for generative constructors (#4192) #1051
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: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
analyze: | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: main | |
- name: dart pub get (specification) | |
run: dart pub get | |
working-directory: specification | |
- name: dart pub get (working/macros/example) | |
run: dart pub get | |
working-directory: working/macros/example | |
- name: dart pub get (tools/corpus) | |
run: dart pub get | |
working-directory: tools/corpus/scripts | |
- name: dart pub get (accepted/2.3/spread-collections/benchmarks) | |
run: dart pub get | |
working-directory: accepted/2.3/spread-collections/benchmarks | |
- name: dart pub get (accepted/future-releases/0546-patterns/exhaustiveness_prototype) | |
run: dart pub get | |
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype | |
- name: dart analyze --fatal-infos . | |
run: dart analyze --fatal-infos . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: main | |
- name: dart pub get (accepted/future-releases/0546-patterns/exhaustiveness_prototype) | |
run: dart pub get | |
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype | |
- name: dart test (accepted/future-releases/0546-patterns/exhaustiveness_prototype) | |
run: dart test | |
working-directory: accepted/future-releases/0546-patterns/exhaustiveness_prototype |