From 255cc709783cb20f63c9a8a2f2b6a0a03964af53 Mon Sep 17 00:00:00 2001 From: Greg Littlefield Date: Fri, 10 Sep 2021 10:59:56 -0700 Subject: [PATCH] Add 2.13.4 to matrix --- .github/workflows/dart_ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index 31de809da..59b88a698 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -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/setup-dart@v0.2 @@ -35,7 +35,7 @@ jobs: - name: Verify formatting run: pub run dart_dev format --check - if: always() && ${{ matrix.sdk }} == '2.7.2' && steps.install.outcome == 'success' + if: always() && matrix.sdk == '2.7.2' && steps.install.outcome == 'success' # Analyze before generated files are created to verify that component boilerplate analysis is "clean" without the need for building - name: Analyze example source (pre-build) @@ -44,9 +44,7 @@ jobs: # which could cause analysis issues for consumers who haven't run a build yet. dartanalyzer lib cd example/boilerplate_versions - if [ ${{ matrix.sdk }} = '2.7.2' ]; then pub global activate tuneup && tuneup check; fi - if [ ${{ matrix.sdk }} = 'stable' ]; then echo 'Skip pre-build analysis for Dart versions >=2.9 and <2.12 because there will be analysis errors.'; fi - if [ ${{ matrix.sdk }} = 'dev' ]; then cd mixin_based/dart_2_9_compatible && dart analyze; fi + if [ ${{ matrix.sdk }} = '2.7.2' ]; then pub global activate tuneup && tuneup check; else dart analyze; fi if: always() && steps.install.outcome == 'success' - id: build @@ -84,7 +82,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/setup-dart@v0.2