Skip to content

Commit

Permalink
Trying something
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlademann-wf committed Mar 29, 2024
1 parent 4f82e7e commit 940a211
Show file tree
Hide file tree
Showing 7 changed files with 301 additions and 229 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/area_matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: _

on:
workflow_call:
inputs:
sdk:
required: true
type: string

jobs:
setup:
uses: ./.github/workflows/setup.yml
with:
sdk: ${{ inputs.sdk }}
lib:
needs: [ setup ]
if: ${{ needs.setup.outputs.run_dart_checks == 'true' }}
uses: ./.github/workflows/lib_ci.yml
with:
sdk: ${{ inputs.sdk }}
is_tag_build: ${{ needs.setup.outputs.is_tag_build }}
analyzer_plugin:
needs: [ setup ]
if: ${{ needs.setup.outputs.is_tag_build == 'false' && needs.setup.outputs.run_dart_checks == 'true' }}
uses: ./.github/workflows/plugin_ci.yml
with:
sdk: ${{ inputs.sdk }}
2 changes: 1 addition & 1 deletion .github/workflows/dart_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
matrix:
# Can't run on `dev` (Dart 3) until we're fully null-safe.
sdk: [ 2.18.7, 2.19.6 ]
uses: ./.github/workflows/jobs.yml
uses: ./.github/workflows/dart_ci_matrix.yml
with:
sdk: ${{ matrix.sdk }}
17 changes: 17 additions & 0 deletions .github/workflows/dart_ci_matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Dart

on:
workflow_call:
inputs:
sdk:
required: true
type: string

jobs:
strategy:
fail-fast: false
matrix:
area: [ lib, plugin ]
uses: ./.github/workflows/area_matrix.yml
with:
sdk: ${{ matrix.sdk }}
228 changes: 0 additions & 228 deletions .github/workflows/jobs.yml

This file was deleted.

Loading

0 comments on commit 940a211

Please sign in to comment.