From 872f3abffa307c3feff27c0615ee3540ef404cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tvrd=C3=ADk?= Date: Sat, 6 Sep 2025 22:07:46 +0200 Subject: [PATCH 1/2] remove editorconfig-checker because it does not work on windows --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index 6754002..5f73188 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,6 @@ "phpstan/phpstan": "^2.1.8" }, "require-dev": { - "editorconfig-checker/editorconfig-checker": "^10.6.0", "ergebnis/composer-normalize": "^2.45.0", "phpstan/phpstan-deprecation-rules": "^2.0.1", "phpstan/phpstan-phpunit": "^2.0.4", @@ -52,7 +51,6 @@ "scripts": { "check": [ "@check:composer", - "@check:ec", "@check:cs", "@check:types", "@check:dependencies", @@ -65,7 +63,6 @@ ], "check:cs": "phpcs", "check:dependencies": "composer-dependency-analyser", - "check:ec": "ec src", "check:types": "phpstan analyse -vv --ansi", "fix:cs": "phpcbf" } From 59a745daf89f759aeaf9fe376daa9cbe6056f57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tvrd=C3=ADk?= Date: Sat, 6 Sep 2025 21:49:07 +0200 Subject: [PATCH 2/2] ci: run tests on windows --- .gitattributes | 2 +- .github/workflows/checks.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 43ad3ee..7c53890 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ -* text=auto +* text=auto eol=lf /cache export-ignore /.editorconfig export-ignore diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8f8419d..a2816b5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -7,10 +7,11 @@ on: - "v[0-9]" jobs: checks: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: [ubuntu-latest, windows-latest] php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: -