mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Update CI dependencies; Go to 1.17 and gopls to 0.7.3 (#1235)
* update CI dependencies; Go to 1.17 and gopls to 0.7.3 * use `go install` instaed of `go get` for installing gopls
This commit is contained in:
6
.github/workflows/linux_neovim.yml
vendored
6
.github/workflows/linux_neovim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
6
.github/workflows/linux_vim.yml
vendored
6
.github/workflows/linux_vim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
6
.github/workflows/mac_neovim.yml
vendored
6
.github/workflows/mac_neovim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
6
.github/workflows/mac_vim.yml
vendored
6
.github/workflows/mac_vim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
6
.github/workflows/windows_neovim.yml
vendored
6
.github/workflows/windows_neovim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
6
.github/workflows/windows_vim.yml
vendored
6
.github/workflows/windows_vim.yml
vendored
@@ -9,8 +9,8 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
VIM_LSP_GO_VERSION: '1.16.2'
|
||||
VIM_LSP_GOPLS_VERSION: '0.6.6'
|
||||
VIM_LSP_GO_VERSION: '1.17'
|
||||
VIM_LSP_GOPLS_VERSION: '0.7.3'
|
||||
VIM_LSP_GOPLS_CACHE_VER: 1
|
||||
|
||||
jobs:
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
if: steps.cache-gopls.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
go get golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}
|
||||
gopls version
|
||||
mkdir bin
|
||||
mv "$(which gopls)" ./bin/
|
||||
|
||||
Reference in New Issue
Block a user