fix ci runner to not use snapd
All checks were successful
tests / test (push) Successful in 19s

This commit is contained in:
2026-01-01 12:43:36 +01:00
parent ea207c8812
commit 5027f012d4

View File

@@ -13,11 +13,17 @@ jobs:
- name: Install Neovim - name: Install Neovim
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y snapd sudo apt-get install -y curl xz-utils
sudo systemctl enable --now snapd.socket ARCH=$(uname -m)
sudo systemctl start snapd if [ "$ARCH" = "aarch64" ]; then
sudo snap wait system seed.loaded APPIMAGE="nvim-linux-arm64.appimage"
sudo snap install nvim --classic else
APPIMAGE="nvim-linux-x86_64.appimage"
fi
curl -L -o "$APPIMAGE" "https://github.com/neovim/neovim/releases/latest/download/$APPIMAGE"
chmod +x "$APPIMAGE"
"./$APPIMAGE" --appimage-extract
sudo mv squashfs-root/usr/bin/nvim /usr/local/bin/nvim
- name: Install plenary.nvim - name: Install plenary.nvim
run: | run: |