Skip to content

Commit

Permalink
ci: fix macos neovim install
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Jul 22, 2024
1 parent 35287cf commit 6d798e0
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/neovim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
ubuntu:
name: Ubuntu
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Neovim
Expand All @@ -23,22 +26,6 @@ jobs:
run: |
nvim --version
nvim --headless -u test/init.lua +q
macos:
name: Macos
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Install Neovim
run: |
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz
xattr -c ./nvim-macos.tar.gz
tar xzvf nvim-macos.tar.gz &> /dev/null
ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin/nvim
- name: Run neovim
run: |
nvim --version
nvim --headless -u test/init.lua +q
windows:
name: Windows
runs-on: windows-latest
Expand Down

0 comments on commit 6d798e0

Please sign in to comment.