-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #356 from Workiva/update_to_dart_2.13_in_ci
Treat Dart 2.13.4 as the primary SDK version for dev and CI
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
sdk: [ 2.7.2, stable, dev ] | ||
sdk: [ 2.7.2, 2.13.4, stable, dev ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dart-lang/[email protected] | ||
|
@@ -46,6 +46,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dart-lang/[email protected] | ||
with: | ||
sdk: 2.13.4 | ||
|
||
- name: Print Dart SDK version | ||
run: dart --version | ||
|
@@ -55,9 +57,9 @@ jobs: | |
run: pub get | ||
|
||
- name: Verify formatting | ||
run: pub run dart_dev format --check | ||
run: dart run dart_dev format --check | ||
if: always() && steps.install.outcome == 'success' | ||
|
||
- name: Publish dry run | ||
run: pub publish --dry-run | ||
run: dart pub publish --dry-run | ||
if: always() && steps.install.outcome == 'success' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM google/dart:2.7 | ||
FROM google/dart:2.13.4 | ||
WORKDIR /build | ||
ADD pubspec.yaml /build | ||
RUN pub get | ||
|