Show menu

dart_action.yaml

  name: dart_equations_ci

  on:
    push:
      branches:
        - main
    pull_request:
      branches:
        - main

  jobs:
    build:
      runs-on: ubuntu-latest
      container:
        image:  google/dart:latest
      steps:
      - uses: actions/checkout@v2
      - name: Install dependencies
        run: pub get
      - name: Format
        run: dartfmt --dry-run --set-exit-if-changed .
      - name: Run tests
        run: pub run test
  

flutter_action.yaml

  name: master_ci

  on:
    push:
      branches:
        - main

    pull_request:
      branches:
        - main

  jobs:
    build:
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
        - uses: subosito/flutter-action@v1.3.0
        - name: Install Dependencies
          run: flutter packages get
        - name: Format
          run: flutter format --set-exit-if-changed lib test
        - name: Run tests
          run: flutter test --no-pub --test-randomize-ordering-seed random
  

This website and the book are not official Google products. No affiliations are involved. Built with Java 14 and Vert.X

"Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC"