-
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (39 loc) · 1.03 KB
/
ci-8.3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI-8.3
on: [push]
env:
ACTION_PHP_VERSION: 8.3
ACTION_PHP_EXTENSIONS: zip
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- name: Composer install
uses: php-actions/composer@v6
with:
php_version: 8.3
php_extensions: zip gd
- name: PHPUnit
uses: php-actions/phpunit@v4
with:
bootstrap: vendor/autoload.php
php_version: 8.3
configuration: phpunit.xml.dist
php_extensions: zip gd
test_suffix: Test.php
- name: PHPStan
uses: php-actions/phpstan@v3
with:
php_version: 8.3
path: src/
- name: PHP Code Sniffer
uses: php-actions/phpcs@v1
with:
php_version: 8.3
path: src/
standard: phpcs.xml.dist