From d6e0ba2a745ff6df807c2ced9e3b73c93d24444f Mon Sep 17 00:00:00 2001 From: Andy Freeland Date: Mon, 16 Dec 2024 20:30:16 -0800 Subject: [PATCH] Use mise to install Neovim in CI --- .github/workflows/ci.yml | 6 +++--- mise.toml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 mise.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7de511e..fd91ac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Prepare dependencies - run: | - mkdir -p _neovim - curl -sL https://github.com/neovim/neovim/releases/download/v0.10.2/nvim-linux64.tar.gz | tar xzf - --strip-components=1 -C "${PWD}/_neovim" + uses: jdx/mise-action@v2 + - name: Run tests run: | export PATH="${PWD}/_neovim/bin:${PATH}" diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..26be086 --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] +neovim = "latest"