From 3cf906bc1bf47f7da3fafe67423b374774389ee2 Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Fri, 26 Feb 2021 23:25:23 +0100 Subject: [PATCH] Update dart.yml (#820) * Update dart.yml Update Dart starter workflow to use `setup-dart` from the Dart team. This enables testing on more operating systems (Linux, Windows, and macOS), and offers more control over the Dart SDK version to test with. * Update dart.yml Add required disclaimer * Update ci/dart.yml Co-authored-by: Josh Gross Co-authored-by: Josh Gross --- ci/dart.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ci/dart.yml b/ci/dart.yml index 138921f..7486577 100644 --- a/ci/dart.yml +++ b/ci/dart.yml @@ -1,3 +1,8 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + name: Dart on: @@ -10,18 +15,14 @@ jobs: build: runs-on: ubuntu-latest - # Note that this workflow uses the latest stable version of the Dart SDK. - # Docker images for other release channels - like dev and beta - are also - # available. See https://hub.docker.com/r/google/dart/ for the available - # images. - container: - image: google/dart:latest - steps: - uses: actions/checkout@v2 - - name: Print Dart SDK version - run: dart --version + # Note: This workflow uses the latest stable version of the Dart SDK. + # You can specify other versions if desired, see documentation here: + # https://github.com/dart-lang/setup-dart/blob/main/README.md + # - uses: dart-lang/setup-dart@v1 + - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 - name: Install dependencies run: dart pub get