File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 run : " composer phpstan"
7676
7777 - name : " Run coding standard checks with squizlabs/php_codesniffer"
78- run : |
79- php_version=$(php -r 'echo PHP_MAJOR_VERSION * 10000 + PHP_MINOR_VERSION * 100 + PHP_RELEASE_VERSION;')
80- echo "Detected PHP version: $php_version"
81- vendor/bin/phpcs --runtime-set php_version $php_version
78+ if : matrix.php-version == '8.1'
79+ run : composer cs-check
8280
8381 - name : " Archive code coverage results"
8482 uses : actions/upload-artifact@v4
9088 - uses : codecov/codecov-action@v5.1.2 # upload the coverage to codecov
9189 with :
9290 fail_ci_if_error : false # optional (default = false) - Need CODECOV_TOKEN
93- # Do not upload in forks, and only on php8.3 , latest deps
94- if : ${{ github.repository == 'thecodingmachine/graphqlite' && matrix.php-version == '8.3 ' && matrix.install-args == '' }}
91+ # Do not upload in forks, and only on php8.4 , latest deps
92+ if : ${{ github.repository == 'thecodingmachine/graphqlite' && matrix.php-version == '8.4 ' && matrix.install-args == '' }}
9593
9694 examples :
9795 name : Check Examples
You can’t perform that action at this time.
0 commit comments