Skip to content

fix bug causing lando setup fail on POSIX for lando <3.24 #255

fix bug causing lando setup fail on POSIX for lando <3.24

fix bug causing lando setup fail on POSIX for lando <3.24 #255

name: Actions Version Tests
on:
pull_request:
jobs:
setup-lando-actions-versions-test:
runs-on: ${{ matrix.os }}
env:
LANDO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
node-version:
- '20'
lando-version:
- '3.x'
- '>2'
- '3'
- '3.14'
- '3.14.0'
- 'v3.21.0-beta.10-slim'
- '3-slim'
- '3-stable'
- '3-stable-slim'
- '3-edge'
- '3-edge-slim'
- '3-latest'
- '3-dev'
- '3-dev-slim'
- 'stable'
- 'edge'
- 'latest'
- 'dev'
- 'pm-preview'
- 'https://github.com/lando/legacy-cli/releases/download/v3.18.0/lando-linux-x64-v3.18.0'
- '/home/runner/work/setup-lando/setup-lando/bin/lando'
- './bin/lando'
- ''
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies and prepare
run: |
npm clean-install --prefer-offline --frozen-lockfile
npm run prepare
- name: Setup Lando version ${{ matrix.lando-version }}
env:
LANDO_VERSION: 3.22.0
uses: ./
with:
lando-version: ${{ matrix.lando-version }}
lando-version-file: false