File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : QA
22
33on :
4+ pull_request :
45 push :
56 branches :
67 - main
7- pull_request :
88 workflow_dispatch :
99
10+ permissions :
11+ contents : read
12+
1013jobs :
11- qa :
12- name : PHP ${{ matrix.php-version }}
13- runs-on : ubuntu-latest
14+ workflows :
15+ uses : sympress/workflows/.github/workflows/lint-workflows.yml@v1
1416
17+ qa :
1518 strategy :
1619 fail-fast : false
1720 matrix :
1821 php-version :
1922 - ' 8.4'
2023 - ' 8.5'
21-
22- steps :
23- - name : Checkout
24- uses : actions/checkout@v4
25-
26- - name : Setup PHP
27- uses : shivammathur/setup-php@v2
28- with :
29- php-version : ${{ matrix.php-version }}
30- coverage : none
31- tools : composer:v2
32-
33- - name : Validate Composer metadata
34- run : composer validate --strict
35-
36- - name : Install dependencies
37- run : composer install --no-interaction --no-progress --prefer-dist
38-
39- - name : Verify PHPCS standards are registered
40- run : vendor/bin/phpcs -i
41-
42- - name : Run QA
43- run : composer qa
24+ uses : sympress/workflows/.github/workflows/sympress-qa.yml@v1
25+ with :
26+ php_version : ${{ matrix.php-version }}
27+ secrets :
28+ COMPOSER_AUTH_JSON : ${{ secrets.COMPOSER_AUTH_JSON }}
You can’t perform that action at this time.
0 commit comments