Switch to the new Neovim health API #805
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mac_vim | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
VIM_LSP_GO_VERSION: '1.17' | |
VIM_LSP_GOPLS_VERSION: '0.7.3' | |
VIM_LSP_GOPLS_CACHE_VER: 1 | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install MacVim | |
shell: bash | |
run: brew install macvim | |
- name: Download test runner | |
uses: actions/checkout@v4 | |
with: | |
repository: thinca/vim-themis | |
path: ./vim-themis | |
ref: v1.5.5 | |
- name: Install Go for gopls | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.VIM_LSP_GO_VERSION }} | |
- name: Install gopls | |
shell: bash | |
run: | | |
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }} | |
gopls version | |
mkdir bin | |
mv "$(which gopls)" ./bin/ | |
env: | |
GO111MODULE: 'on' | |
- name: Run tests | |
shell: bash | |
run: | | |
export PATH=./vim-themis/bin:$PATH | |
export PATH=./bin:$PATH | |
export THEMIS_VIM=vim | |
vim --version | |
themis |