File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1- name : generate
1+ name : Generate PostgreSQL Error Codes
22
33on :
44 schedule :
@@ -13,20 +13,20 @@ jobs:
1313 - name : Setup PHP
1414 uses : shivammathur/setup-php@v2
1515 with :
16- php-version : ' 8.2 '
16+ php-version : ' 8.4 '
1717
1818 - name : Checkout
1919 uses : actions/checkout@v4
2020
21- - name : Generate
22- run : make
21+ - name : Generate PostgreSQL Error Codes
22+ uses : nick-fields/retry@v3
23+ with :
24+ timeout_seconds : 60
25+ max_attempts : 3
26+ command : make
2327
24- - name : Count changes
25- id : changes
26- run : |
27- git add -N .
28- git diff --name-only --exit-code
29- continue-on-error : true
28+ - name : Syntax check
29+ run : php -l -n -d error_reporting=E_ALL ./src/PostgresError.php
3030
3131 - name : Create Pull Request
3232 uses : peter-evans/create-pull-request@v6
3838 Error codes have been updated.
3939
4040 - https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt
41- if : steps.changes.outcome == 'failure'
Original file line number Diff line number Diff line change 3737 uses : actions/checkout@v4
3838
3939 - name : Install dependencies
40- run : composer install --quiet --no-ansi --prefer-dist --no-progress --no-interaction
40+ uses : nick-fields/retry@v3
41+ with :
42+ timeout_seconds : 60
43+ max_attempts : 3
44+ command : composer install --quiet --no-plugins --no-ansi --prefer-dist --no-progress --no-interaction
4145
4246 - name : Migrate phpunit XML configuration
4347 run : vendor/bin/phpunit --migrate-configuration || true
You can’t perform that action at this time.
0 commit comments