-
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 772 Bytes
/
check-code.yml
File metadata and controls
38 lines (31 loc) · 772 Bytes
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
name: "Code check"
on:
push:
branches:
- main
workflow_call:
pull_request:
paths:
- "src/**"
- "tests/**"
- "composer.json"
- "ecs.php"
- "rector.php"
- "phpstan.neon"
- "phpstan-baseline.neon"
- "phpunit.xml"
concurrency:
group: php-sdk-builder-check-${{ github.ref }}
cancel-in-progress: true
jobs:
code:
name: "Code check"
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@b0886c7fa81dab2fb2615c06eb66e94711652056
secrets: inherit
tests:
name: "Run tests"
strategy:
matrix:
php-version: [ "8.1", "8.2" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@7b6e90f753beb05d979bf4ad39a009b353a7c6cc
secrets: inherit