Skip to content

Setup Dart Action

Runtime Release Types License Dependencies Coverage Build

Set up your GitHub Actions workflow with a specific version of the Dart SDK.

GitHub Actions

Getting started

If you haven't used GitHub Actions before, be sure to check out the related documentation, as it explains how to create and configure a workflow.

Setup the Dart SDK in a workflow:

    - uses: cedx/setup-dart@v2
    - run: pub get
    - run: pub run test

For more details, see the usage information.