diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-10-15 21:14:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-15 21:14:56 -0700 |
| commit | b4f0182f98acc9083f0919f0808b56c40f03d1b2 (patch) | |
| tree | 1e5209f814488e7310467110c4fa52423e737348 | |
| parent | fix: remove invalid cucumber package.json (#1307) (diff) | |
| download | nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar.gz nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar.bz2 nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar.lz nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar.xz nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.tar.zst nvim-lspconfig-b4f0182f98acc9083f0919f0808b56c40f03d1b2.zip | |
ci: use rhysd action instead for installing neovim (#1312)
| -rw-r--r-- | .github/workflows/docgen.yml | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/.github/workflows/docgen.yml b/.github/workflows/docgen.yml index 2d1f8f54..8ff59124 100644 --- a/.github/workflows/docgen.yml +++ b/.github/workflows/docgen.yml @@ -12,16 +12,12 @@ jobs: contents: write steps: - uses: actions/checkout@v2 - - run: date +%F > todays-date - - name: Restore cache for today's nightly. - uses: actions/cache@v2 + - uses: rhysd/action-setup-vim@v1 with: - path: _neovim - key: ${{ runner.os }}-nightly-${{ hashFiles('todays-date') }} - - name: Setup from neovim nightly and run docgen + neovim: true + version: nightly + - name: Run docgen run: | - curl -OL https://raw.githubusercontent.com/norcalli/bot-ci/master/scripts/github-actions-setup.sh - source github-actions-setup.sh nightly-x64 scripts/docgen.sh - name: Commit changes env: @@ -41,21 +37,12 @@ jobs: contents: write steps: - uses: actions/checkout@v2 - - run: date +%F > todays-date - - name: Restore cache for today's nightly. - uses: actions/cache@v2 + - uses: rhysd/action-setup-vim@v1 with: - path: build - key: ${{ runner.os }}-appimage-${{ hashFiles('todays-date') }} - - - name: Setup neovim nightly and install plugins + neovim: true + version: nightly + - name: Install plugins run: | - test -d build || { - mkdir -p build - wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage - chmod +x nvim.appimage - mv nvim.appimage ./build/nvim - } mkdir -p ~/.local/share/nvim/site/pack/vendor/start git clone --depth 1 https://github.com/mjlbach/babelfish.nvim ~/.local/share/nvim/site/pack/vendor/start/babelfish.nvim git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter |
