blob: f81b025d9a9b1e1bce681f2ae94b49c88344ed12 [file] [log] [blame]
name: Dart CI
on:
# Run on PRs and pushes to the default branch.
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github
jobs:
# Run the test script against the latest dev build.
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [2.12.0, dev]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1.0
with:
sdk: ${{ matrix.sdk }}
- name: Test
run: ./tool/travis.sh