Skip to content

Commit

Permalink
Merge pull request #356 from Workiva/update_to_dart_2.13_in_ci
Browse files Browse the repository at this point in the history
Treat Dart 2.13.4 as the primary SDK version for dev and CI
  • Loading branch information
rmconsole6-wk authored Sep 9, 2021
2 parents b6a12ae + 0d5f20d commit 62992eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dart_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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'
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [3.6.7](https://github.com/Workiva/dart_dev/compare/3.6.7...3.6.6)

- Treat Dart 2.13.4 as the primary Dart SDK for development and CI.

## [3.6.6](https://github.com/Workiva/dart_dev/compare/3.6.6...3.6.5)

- Only use build_runner to run tests if the package has direct dependencies on
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
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
Expand Down

0 comments on commit 62992eb

Please sign in to comment.