Skip to content

Commit

Permalink
use spaces in yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 6, 2025
1 parent 49ea9c1 commit 3410a15
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.yml]
[*.{yml,yaml}]
indent_style = space
indent_size = 2

Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/php-check-syntax.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/php-check-syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check PHP syntax

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', 'highest']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer

- name: checkout repo
uses: actions/checkout@v3

- run: composer run check-syntax

0 comments on commit 3410a15

Please sign in to comment.