Skip to content

Commit fe593ea

Browse files
committed
Add CI Check workflow for PHP versions 8.2 to 8.5
1 parent 6292808 commit fe593ea

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci-check.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
ci-check:
11+
name: CI Check (PHP ${{ matrix.php }})
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
php: ["8.2", "8.3", "8.4", "8.5"]
17+
18+
steps:
19+
- uses: actions/checkout@v6
20+
21+
- name: Setup PHP
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php }}
25+
coverage: none
26+
27+
- name: Install dependencies
28+
run: composer install --no-interaction --prefer-dist
29+
30+
- name: Lint
31+
run: composer lint
32+
33+
- name: Test
34+
run: composer test

0 commit comments

Comments
 (0)