use same install instruction within action-runner that also is used for the core action-runner
All checks were successful
tests / test (push) Successful in 9s
All checks were successful
tests / test (push) Successful in 9s
This commit is contained in:
@@ -11,10 +11,33 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install Neovim (AppImage)
|
|
||||||
|
- name: Install Neovim AppImage
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
curl -L -o nvim.appimage https://github.com/neovim/neovim/releases/download/v0.11.4/nvim.appimage
|
set -euo pipefail
|
||||||
chmod +x nvim.appimage
|
arch="$(uname -m)"
|
||||||
sudo mv nvim.appimage /usr/local/bin/nvim
|
if [ "${arch}" = "aarch64" ]; then
|
||||||
- name: Run tests
|
appimage="nvim-linux-arm64.appimage"
|
||||||
|
else
|
||||||
|
appimage="nvim-linux-x86_64.appimage"
|
||||||
|
fi
|
||||||
|
url="https://github.com/neovim/neovim/releases/download/stable/${appimage}"
|
||||||
|
curl -L "${url}" -o "${appimage}"
|
||||||
|
chmod +x "${appimage}"
|
||||||
|
./${appimage} --appimage-extract
|
||||||
|
sudo install -m 0755 ./squashfs-root/usr/bin/nvim /usr/local/bin/nvim
|
||||||
|
|
||||||
|
- name: Neovim Version
|
||||||
|
run: nvim --version
|
||||||
|
|
||||||
|
- name: Install plenary.nvim
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
target_dir="${HOME}/.local/share/nvim/site/pack/vendor/start/plenary.nvim"
|
||||||
|
mkdir -p "$(dirname "${target_dir}")"
|
||||||
|
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim "${target_dir}"
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
run: bash run_test.sh
|
run: bash run_test.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user