From 8852866fd03a457dbffaf5879c54917b39674c95 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Sat, 23 Jan 2021 10:24:41 +0900 Subject: [PATCH] Run tests on more versions Signed-off-by: Sora Morimoto --- .github/workflows/workflow.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0ed9a61..bd59d5a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,6 +12,10 @@ jobs: matrix: container: - ubuntu:latest + php-version: + - 7.4.14 + - 8.0.0 + - latest env: DEBIAN_FRONTEND: noninteractive @@ -29,13 +33,17 @@ jobs: uses: asdf-vm/actions/plugin-test@v1 with: command: php --version - version: 8.0.0 + version: ${{ matrix.php-version }} plugin-test-vm: strategy: matrix: os: - macos-latest + php-version: + - 7.4.14 + - 8.0.0 + - latest runs-on: ${{ matrix.os }} @@ -47,10 +55,10 @@ jobs: uses: asdf-vm/actions/plugin-test@v1 with: command: php --version - version: 8.0.0 + version: ${{ matrix.php-version }} format: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: Checkout code