Skip to content

Commit 3410a15

Browse files
use spaces in yml file
1 parent 49ea9c1 commit 3410a15

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ insert_final_newline = true
1313
trim_trailing_whitespace = true
1414
indent_style = tab
1515

16-
[*.yml]
16+
[*.{yml,yaml}]
1717
indent_style = space
1818
indent_size = 2
1919

.github/workflows/php-check-syntax.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Check PHP syntax
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', 'highest']
11+
steps:
12+
- name: Setup PHP
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: ${{ matrix.php-versions }}
16+
tools: composer
17+
18+
- name: checkout repo
19+
uses: actions/checkout@v3
20+
21+
- run: composer run check-syntax

0 commit comments

Comments
 (0)