mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
ci: fix the build by pinning nvim-treesitter
It's dropped support for older neovim versions
This commit is contained in:
parent
6e9e965353
commit
1ce109f0a7
2 changed files with 17 additions and 3 deletions
7
.github/workflows/install_nvim.sh
vendored
7
.github/workflows/install_nvim.sh
vendored
|
@ -1,9 +1,12 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
PLUGINS="$HOME/.local/share/nvim/site/pack/plugins/start"
|
||||
mkdir -p "$PLUGINS"
|
||||
|
||||
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage
|
||||
wget "https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage"
|
||||
chmod +x nvim.appimage
|
||||
sudo mv ./nvim.appimage /usr/bin/nvim
|
||||
git clone --depth=1 https://github.com/nvim-lua/plenary.nvim.git "$PLUGINS/plenary.nvim"
|
||||
git clone --depth=1 https://github.com/nvim-treesitter/nvim-treesitter.git "$PLUGINS/nvim-treesitter"
|
||||
git clone https://github.com/nvim-treesitter/nvim-treesitter.git "$PLUGINS/nvim-treesitter"
|
||||
pushd "$PLUGINS/nvim-treesitter"
|
||||
git reset --hard "$TS_COMMIT"
|
||||
|
|
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
|
@ -6,12 +6,23 @@ jobs:
|
|||
run_tests:
|
||||
strategy:
|
||||
matrix:
|
||||
nvim_tag: [v0.5.0, v0.5.1, v0.6.0, v0.6.1, v0.7.0]
|
||||
include:
|
||||
- nvim_tag: v0.5.0
|
||||
ts_commit: 4542402e34568eb607059e3ff6a3594aaca850fd
|
||||
- nvim_tag: v0.5.1
|
||||
ts_commit: 4542402e34568eb607059e3ff6a3594aaca850fd
|
||||
- nvim_tag: v0.6.0
|
||||
ts_commit: 4542402e34568eb607059e3ff6a3594aaca850fd
|
||||
- nvim_tag: v0.6.1
|
||||
ts_commit: 4542402e34568eb607059e3ff6a3594aaca850fd
|
||||
- nvim_tag: v0.7.0
|
||||
ts_commit: master
|
||||
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NVIM_TAG: ${{ matrix.nvim_tag }}
|
||||
TS_COMMIT: ${{ matrix.ts_commit }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
|
Loading…
Reference in a new issue