summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-15 18:01:37 +0200
committerGitHub <[email protected]>2021-08-15 20:31:37 +0430
commit1fbc34cf1d3c2ec5500ddb6e14f04751680d969f (patch)
treecdecc7d7e826ed2e47af17f552038261f34639d4 /.github
parent6eb75c5678ddb4d040f644e331e222078b99b3a1 (diff)
Fix slow CI by installing a neovim binary directly (#1059)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/install.yaml19
1 files changed, 9 insertions, 10 deletions
diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml
index 08801f1b..6fb0d49c 100644
--- a/.github/workflows/install.yaml
+++ b/.github/workflows/install.yaml
@@ -22,19 +22,18 @@ jobs:
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v2
-
- - name: Install dependencies for Linux
- if: matrix.os == 'linux'
- run: |
- sudo add-apt-repository ppa:neovim-ppa/unstable -y
- sudo apt-get update
- sudo apt-get install neovim -y
- - name: Install dependencies for OSX
+ # sha256sum is not available by default
+ - name: Installl dependencies for OSX
if: matrix.os == 'osx'
run: |
- brew update >/dev/null
- brew install neovim
+ echo "HOMEBREW_NO_AUTO_UPDATE=1" >> $GITHUB_ENV
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
+ brew install coreutils
+
+ - name: Install neovim binary
+ run: |
+ bash ./utils/installer/install-neovim-from-release
- name: Install LunarVim
timeout-minutes: 4