Skip to content

Commit

Permalink
Update compliance.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Feb 11, 2023
1 parent 5e67ac3 commit 75b03e7
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: Compliance

on:
pull_request:
push:
branches:
- "main"
- "[0-9]+.[0-9]+.x"
- "v[0-9]+"
schedule:
- cron: "0 * * * *" # Runs hourly
pull_request:
push:
branches:
- "main"
- "[0-9]+.[0-9]+.x"
- "v[0-9]+"
schedule:
- cron: "0 * * * *" # Runs hourly

jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v3
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Determine CI Jobs
id: matrix
uses: ghostwriter/compliance@v1
with:
command: matrix
qa:
name: ${{ matrix.name }} on PHP ${{ matrix.php }} with ${{ matrix.dependency }} dependencies
needs: [matrix]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }} on PHP ${{ matrix.php }}
uses: ghostwriter/laminas-continuous-integration-action@temp
with:
job: '{"php":"${{ matrix.php }}","dependencies":"${{ matrix.dependency }}","extensions":${{ toJSON(matrix.extensions) }},"ini":[],"command":"${{ matrix.command }}"}'
- name: Determine CI Jobs
id: matrix
uses: ghostwriter/compliance@v1
with:
command: matrix
qa:
name: ${{ matrix.name }} on PHP ${{ matrix.php }} with ${{ matrix.dependency }} dependencies
needs: [matrix]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }} on PHP ${{ matrix.php }}
uses: ghostwriter/laminas-continuous-integration-action@temp
with:
job: '{"php":"${{ matrix.php }}","dependencies":"${{ matrix.dependency }}","extensions":${{ toJSON(matrix.extensions) }},"ini":[],"command":"${{ matrix.command }}"}'
# - name: QA Check ${{ matrix.name }} on PHP ${{ matrix.php }}
# uses: ghostwriter/compliance@qa/test-workflow
# with:
Expand Down

0 comments on commit 75b03e7

Please sign in to comment.