-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (26 loc) · 778 Bytes
/
reusable-validate.yml
File metadata and controls
35 lines (26 loc) · 778 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
name: Validate
on:
workflow_call:
permissions: {}
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['5.4', 'latest']
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Install PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer update --no-interaction --no-progress
- name: Validate Composer installation
run: composer validate --no-check-all --strict