Skip to content

Commit 07a326c

Browse files
Chore: Conditionalize PHP code style linting for Windows in CI workflow
1 parent 3de897b commit 07a326c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ jobs:
6060
- name: List Installed Dependencies
6161
run: composer show -D
6262

63-
- name: Fix PHP code style issues
64-
run: composer lint
63+
- name: Fix PHP code style issues on Windows
64+
run: |
65+
if [[ "$RUNNER_OS" == "Windows" ]]; then
66+
composer lint
67+
fi
6568
6669
- name: Execute tests
6770
run: composer test

0 commit comments

Comments
 (0)