From c411a8fe4b3a6400bf4b3f5ffcc3256a76e9ed8b Mon Sep 17 00:00:00 2001 From: Aaron Feledy Date: Mon, 9 Dec 2024 16:34:29 -0500 Subject: [PATCH] use version string instead of select --- .github/workflows/pr-php-tests.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pr-php-tests.yml b/.github/workflows/pr-php-tests.yml index 64e599c..86d6994 100644 --- a/.github/workflows/pr-php-tests.yml +++ b/.github/workflows/pr-php-tests.yml @@ -5,22 +5,10 @@ on: workflow_dispatch: inputs: lando-version: - description: 'Select Lando version' + description: 'Lando version' required: true default: '3-edge' - type: choice - options: - - '3-stable' - - '3-edge' - - '3-dev' - - '4-stable' - - '4-edge' - - '4-dev' - slim: - description: 'Use slim version' - required: false - default: true - type: boolean + type: string jobs: leia-tests: @@ -67,10 +55,10 @@ jobs: lando-plugin: true version: dev sync: false - - name: Setup lando ${{ github.event.inputs.lando-version }}${{ github.event.inputs.slim && '-slim' || '' }} + - name: Setup lando ${{ github.event.inputs.lando-version }} uses: lando/setup-lando@v3 with: - lando-version: ${{ github.event.inputs.lando-version }}${{ github.event.inputs.slim && '-slim' || '' }} + lando-version: ${{ github.event.inputs.lando-version }} config: | setup.skipCommonPlugins=true setup.plugins.@lando/php=/home/runner/work/php/php