]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/vim-lsp/.github/workflows/mac_vim.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Do not set EDITOR/VISUAL for shell
[etc/vim.git] / .vim / bundle / vim-lsp / .github / workflows / mac_vim.yml
1 name: mac_vim
2
3 on:
4   push:
5     branches:
6       - master
7   pull_request:
8     branches:
9       - master
10
11 env:
12   VIM_LSP_GO_VERSION: '1.17'
13   VIM_LSP_GOPLS_VERSION: '0.7.3'
14   VIM_LSP_GOPLS_CACHE_VER: 1
15
16 jobs:
17   build:
18     runs-on: macos-latest
19     steps:
20       - uses: actions/checkout@v4
21       - name: Install MacVim
22         shell: bash
23         run: brew install macvim
24       - name: Download test runner
25         uses: actions/checkout@v4
26         with:
27           repository: thinca/vim-themis
28           path: ./vim-themis
29           ref: v1.5.5
30       - name: Install Go for gopls
31         uses: actions/setup-go@v5
32         with:
33           go-version: ${{ env.VIM_LSP_GO_VERSION }}
34       - name: Install gopls
35         shell: bash
36         run: |
37           go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
38           gopls version
39           mkdir bin
40           mv "$(which gopls)" ./bin/
41         env:
42           GO111MODULE: 'on'
43       - name: Run tests
44         shell: bash
45         run: |
46           export PATH=./vim-themis/bin:$PATH
47           export PATH=./bin:$PATH
48           export THEMIS_VIM=vim
49           vim --version
50           themis