Skip to content

Commit ba06d25

Browse files
committed
github/workflows: fix install nvim binary
1 parent 7556bc0 commit ba06d25

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,21 @@ jobs:
5252
restore-keys: |
5353
${{ runner.os }}-go-
5454
55-
- name: Install nvim binary
56-
uses: rhysd/action-setup-vim@v1
57-
with:
58-
neovim: true
59-
version: nightly
55+
- name: Install nvim binary for Linux
56+
if: runner.os == 'Linux'
57+
run: |
58+
curl -SLO https://github.com/go-nvim/neovim/releases/download/nightly/nvim-linux64.tar.gz
59+
tar xzf nvim-linux64.tar.gz
60+
mv nvim-linux64 /home/runner/nvim
61+
echo "/home/runner/nvim/bin" >> $GITHUB_PATH
62+
63+
- name: Install nvim binary for macOS
64+
if: runner.os == 'MacOS'
65+
run: |
66+
curl -SLO https://github.com/go-nvim/neovim/releases/download/nightly/nvim-macos.tar.gz
67+
tar xzf nvim-macos.tar.gz
68+
mv nvim-osx64 /Users/runner/nvim
69+
echo "/Users/runner/nvim/bin" >> $GITHUB_PATH
6070
6171
- name: Test and vet
6272
run: |

0 commit comments

Comments
 (0)