Skip to content

Commit e32e7c5

Browse files
committed
Update build matrix to supported PHP versions.
1 parent d41d16c commit e32e7c5

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,29 @@ name: CI
22
on:
33
push:
44
branches:
5-
- '*'
5+
- "*"
66
pull_request:
77
schedule:
8-
- cron: 0 14 * * 0
8+
- cron: 0 14 * * 0
99
jobs:
1010
ci:
1111
name: PHP v${{ matrix.php }}
1212
runs-on: ubuntu-latest
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['7.3', '7.4', '8.0']
16+
php: ["7.4", "8.0", "8.1"]
1717
steps:
18-
- name: Set up PHP
19-
uses: shivammathur/setup-php@master
20-
with:
21-
php-version: ${{ matrix.php }}
22-
coverage: xdebug
23-
- name: Check PHP version
24-
run: php -v
25-
- name: Checkout
26-
uses: actions/checkout@v1
27-
- name: Make
28-
run: make ci
29-
- name: Upload Coverage Reports
30-
if: success()
31-
run: |
32-
[[ -z "${{ secrets.CODECOV_TOKEN }}" ]] || bash <(curl -s https://codecov.io/bash) -t "${{ secrets.CODECOV_TOKEN }}" -B "${{ github.ref }}"
18+
- name: Set up PHP
19+
uses: shivammathur/setup-php@master
20+
with:
21+
php-version: ${{ matrix.php }}
22+
coverage: xdebug
23+
- name: Check PHP version
24+
run: php -v
25+
- name: Checkout
26+
uses: actions/checkout@v1
27+
- name: Make
28+
run: make ci
29+
- name: Upload coverage report
30+
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)