mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
fix(check-extension): only run coding-standard on most recent version of Magento (#265)
This commit is contained in:
@@ -165,10 +165,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|
||||||
|
compute_latest_matrix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
|
steps:
|
||||||
|
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||||
|
id: supported-version
|
||||||
|
with:
|
||||||
|
kind: latest
|
||||||
|
|
||||||
coding-standard:
|
coding-standard:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
needs: compute_latest_matrix
|
||||||
strategy:
|
strategy:
|
||||||
matrix: ${{ fromJSON(inputs.matrix) }}
|
matrix: ${{ fromJSON(needs.compute_latest_matrix.outputs.matrix) }}
|
||||||
fail-fast: ${{ inputs.fail-fast }}
|
fail-fast: ${{ inputs.fail-fast }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user