Skip to content

Commit

Permalink
Revert "feat(tests): use setup-yq action (#5)"
Browse files Browse the repository at this point in the history
This reverts commit 622a253.
  • Loading branch information
williamboman committed Jun 7, 2024
1 parent 622a253 commit ab39a17
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,17 @@ runs:
3.12
- if: ${{ steps.prepare.outputs.PACKAGES != '' }}
name: Clone mason.nvim
shell: bash
run: |
git clone https://github.com/williamboman/mason.nvim "$GITHUB_ACTION_PATH/mason.nvim"
- if: ${{ steps.prepare.outputs.PACKAGES != '' }}
name: Setup neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.7.0

- if: ${{ steps.prepare.outputs.PACKAGES != '' }}
name: mason.nvim healthcheck
shell: bash
id: healthchecks
run: |
Expand All @@ -109,11 +106,15 @@ runs:
-c qa
- if: ${{ steps.prepare.outputs.PACKAGES != '' }}
name: Install yq
uses: mason-org/actions/setup-yq@v1
shell: bash
run: |
nvim --headless \
-c "set rtp^=$GITHUB_ACTION_PATH/mason.nvim" \
-c 'lua require("mason").setup()' \
-c 'MasonInstall yq' \
-c qa
- if: ${{ steps.prepare.outputs.PACKAGES != '' }}
name: Install packages
run: nvim --headless -c "luafile $GITHUB_ACTION_PATH/test-runner.lua" -c 1cq
shell: bash
env:
Expand Down

0 comments on commit ab39a17

Please sign in to comment.