name: Dart CI on: push: branches: [ $default-branch ] pull_request: branches: [ $default-branch ] jobs: build: runs-on: ubuntu-latest container: image: google/dart:latest steps: - uses: actions/checkout@v2 - name: Install dependencies run: pub get - name: Run tests run: pub run test