Skip to content

Dart

Dart #253

Workflow file for this run

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@a5ac7e51b41094c92402da3b24376905380afc29
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
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