ci: fix tests syntax #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | ||
on: | ||
pull_request: ~ | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: Run tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest", "windows-latest"] | ||
neovim-version: ["nightly", "stable", "v0.9.0"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install luau-lsp | ||
if: runner.os == "Linux" | ||
Check failure on line 21 in .github/workflows/test.yml GitHub Actions / testInvalid workflow file
|
||
run: | | ||
wget https://github.com/JohnnyMorganz/luau-lsp/releases/latest/download/luau-lsp-linux-arm64.zip | ||
unzip luau-lsp-linux-arm64.zip | ||
mv luau-lsp $GITHUB_PATH | ||
- name: Install luau-lsp | ||
if: runner.os == "Windows" | ||
run: | | ||
curl -L -o luau-lsp-win64.zip https://github.com/JohnnyMorganz/luau-lsp/releases/latest/download/luau-lsp-win64.zip | ||
tar -xf luau-lsp-win64.zip | ||
mv luau-lsp.exe $env:GITHUB_PATH | ||
- name: Run tests | ||
uses: nvim-neorocks/nvim-busted-action@v1 | ||
with: | ||
nvim_version: ${{ matrix.neovim-version }} |