Skip to content

Commit 2e6b6a1

Browse files
committed
Merge branch 'release/v1.1.3'
2 parents 54d3c21 + 1664174 commit 2e6b6a1

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/generate.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
php-version: '8.0'
1717

1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020

2121
- name: Generate
2222
run: make
@@ -25,10 +25,11 @@ jobs:
2525
id: changes
2626
run: |
2727
git add -N .
28-
echo "::set-output name=count::$(git diff --name-only | wc -l)"
28+
git diff --name-only --exit-code
29+
continue-on-error: true
2930

3031
- name: Create Pull Request
31-
uses: peter-evans/create-pull-request@v3
32+
uses: peter-evans/create-pull-request@v4
3233
with:
3334
commit-message: Update Error Code
3435
delete-branch: true
@@ -37,4 +38,4 @@ jobs:
3738
Error codes have been updated.
3839
3940
- https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt
40-
if: ${{ steps.changes.outputs.count > 0 }}
41+
if: steps.changes.outcome == 'failure'

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
php-version: [
1818
'5.3', '5.4', '5.5', '5.6',
1919
'7.0', '7.1', '7.2', '7.3', '7.4',
20-
'8.0', '8.1'
20+
'8.0', '8.1', '8.2'
2121
]
2222

2323
steps:
@@ -27,7 +27,7 @@ jobs:
2727
php-version: ${{ matrix.php-version }}
2828

2929
- name: Checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131

3232
- name: Install dependencies
3333
run: composer install --quiet --no-ansi --prefer-dist --no-progress --no-interaction
@@ -36,7 +36,7 @@ jobs:
3636
run: vendor/bin/phpunit --coverage-clover=coverage.xml
3737

3838
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@v2
39+
uses: codecov/codecov-action@v3
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }}
4242
files: ./coverage.xml

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": "^5.3 || ^7.0 || ^8.0"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5 || ^8.2 || ^9.3"
17+
"phpunit/phpunit": ">=4.8"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)