Skip to content

Specify that enums extend _Enum from dart:core. #563

Specify that enums extend _Enum from dart:core.

Specify that enums extend _Enum from dart:core. #563

Workflow file for this run

name: Dart CI
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
PUB_ENVIRONMENT: bot.github
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
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 (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@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
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