Dart #296
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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 |