-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 1.17 KB
/
build.yaml
File metadata and controls
47 lines (36 loc) · 1.17 KB
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
name: "build"
on:
push: ~
pull_request: ~
workflow_dispatch: ~
jobs:
checks:
name: "PHP ${{ matrix.php }} | SF ${{ matrix.symfony }}"
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
php:
- "8.1"
- "8.2"
- "8.3"
symfony:
- "~5.4.0"
- "~6.4.0"
steps:
- name: "Checkout"
uses: "actions/checkout@v5"
- name: "Setup PHP, with composer and extensions"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
coverage: "none"
tools: "flex"
- name: "Install composer dependencies"
uses: "ramsey/composer-install@v3"
env:
SYMFONY_REQUIRE: "${{ matrix.symfony }}"
- name: "Validate composer"
run: "composer validate --strict"
- name: "Check composer normalized"
run: "composer normalize --dry-run"