Skip to content

Create matrix for NEOVIM version #127

Create matrix for NEOVIM version

Create matrix for NEOVIM version #127

Workflow file for this run

on: [pull_request]
name: default
env:
IMAGE_NAME: nvim-devcontainer-cli
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
neovim-version:
[
"v0.9.0",
"v0.9.1",
"v0.9.2",
"v0.9.4",
"v0.9.5",
"v0.10.0",
"v0.10.1",
"v0.10.2",
"v0.10.3",
"stable",
]
fail-fast: false
name: NEOVIM ${{ matrix.neovim-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre-build devcontainer image for NEOVIM ${{ matrix.neovim-version }}
uses: devcontainers/[email protected]
with:
imageName: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
cacheFrom: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
push: never

Check failure on line 34 in .github/workflows/default.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/default.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
build-args: [NEOVIM_VERSION=${{ matrix.neovim-version }}]
- name: Run tests inside the docker image
uses: devcontainers/[email protected]
with:
cacheFrom: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
push: never
runCmd: make test