Skip to content

Dart

Dart #296

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@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