Skip to content

Dart

Dart #236

Workflow file for this run

name: Dart
on:
pull_request:
push:
branches:
- master
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
env:
PUB_ENVIRONMENT: bot.github
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev, 3.1]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- name: dart format
run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos
- run: dart test