diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index bc25c28..c7b3f75 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -5,7 +5,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-24.04] php: ["8.4"] env: tools: composer diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88049fa..80c2fc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,19 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-24.04] php: ["8.1", "8.2", "8.3", "8.4"] + include: + - php: "8.1" + infection: "0.29.9" + - php: "8.2" + infection: "latest" + - php: "8.3" + infection: "latest" + - php: "8.4" + infection: "latest" env: - tools: composer, phpstan, infection + tools: composer, phpstan, infection:${{ matrix.infection }} ini-values: default_charset='UTF-8' name: PHP ${{ matrix.php }} test on ${{ matrix.os }} steps: diff --git a/infection.json.dist b/infection.json.dist index 54e3c58..6ddb56e 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/infection/infection/0.27.0/resources/schema.json", + "$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json", "source": { "directories": [ "src/" @@ -13,6 +13,5 @@ }, "mutators": { "@default": true - }, - "testFrameworkOptions": "--configuration=phpunit-coverage.xml" + } }