-
-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (33 loc) · 864 Bytes
/
check.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
name: "Code check"
on:
pull_request:
paths:
- "src/**"
- "tests/**"
- "composer.json"
- "ecs.php"
- "rector.php"
- "phpstan.neon"
- "phpunit.xml"
push:
branches:
- main
concurrency:
group: larastrict-check-${{ github.ref }}
cancel-in-progress: true
jobs:
code:
name: "Code check"
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@7562253bdc3769847417e3476b501e7126f5d2c0
tests:
name: "Run tests"
strategy:
matrix:
phpVersion: [ "7.4", "8.0", "8.1", "8.2" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@7562253bdc3769847417e3476b501e7126f5d2c0
secrets:
GIST_SECRET: ${{ secrets.GIST_SECRET }}
with:
gistID: ${{ vars.GIST_ID }}
gistOnPhpVersion: "8.2"
phpVersion: "${{ matrix.phpVersion }}"