Switch from using "while" to "end" and adjust nested rules accordingly #277
Workflow file for this run
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 | |
on: | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
push: | |
branches: [ master, main ] | |
pull_request: | |
branches: [ master, main ] | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: stable | |
- name: Print Dart version | |
run: dart --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze | |
run: dart analyze --fatal-infos | |
- name: Verify grammar file | |
run: dart run tool/verify.dart | |
- name: Test | |
run: dart test |