Skip to content

Commit f8b243c

Browse files
committed
ci(validate): switch to matrix subaction
1 parent 0ad6690 commit f8b243c

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/validate.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,21 @@ on:
1212
branches:
1313
- 'dev'
1414
- 'releases/v*'
15-
paths-ignore:
16-
- '**.md'
1715
pull_request:
18-
paths-ignore:
19-
- '**.md'
2016

2117
jobs:
2218
prepare:
2319
runs-on: ubuntu-latest
2420
outputs:
25-
targets: ${{ steps.generate.outputs.targets }}
21+
matrix: ${{ steps.generate.outputs.matrix }}
2622
steps:
2723
-
2824
name: Checkout
2925
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3026
-
31-
name: List targets
27+
name: Generate matrix
3228
id: generate
33-
uses: docker/bake-action/subaction/list-targets@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7.1.0
29+
uses: docker/bake-action/subaction/matrix@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7.1.0
3430
with:
3531
target: validate
3632

@@ -41,7 +37,7 @@ jobs:
4137
strategy:
4238
fail-fast: false
4339
matrix:
44-
target: ${{ fromJson(needs.prepare.outputs.targets) }}
40+
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
4541
steps:
4642
-
4743
name: Validate

0 commit comments

Comments
 (0)