From 1a995152bf7893321dacab83560fa1de902203bd Mon Sep 17 00:00:00 2001 From: "Oliver G. Mueller" Date: Mon, 18 Mar 2024 14:37:35 +0100 Subject: [PATCH] fixed matrix run --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79f11c3..19d4901 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,15 @@ jobs: max-parallel: 2 fail-fast: false matrix: - php: [ - [ version: "8.1", experimental: false ], - [ version: "8.2", experimental: false ], - [ version: "8.3", experimental: false ], - [ version: "8.4", experimental: true ] + php: + - version: "8.1" + experimental: false + - version: "8.2" + experimental: false + - version: "8.3" + experimental: false + - version: "8.4" + experimental: true ] composer-param: [ "update --no-progress --prefer-dist --prefer-lowest", @@ -34,7 +38,7 @@ jobs: name: "PHP ${{ matrix.php.version }} test" steps: - name: "Check if PHP ${{ matrix.php.version }} is supported" - if: "matrix.experimental == 'true'" + if: "matrix.experimental == true" run: "echo 'PHP ${{ matrix.php.version }} is experimental'" - name: "checkout project" uses: "actions/checkout@v4"