Skip to content

Commit c8dbb8f

Browse files
authored
Upgrade the Go version to 1.17.x (#117)
* github/workflow: temporary use neovim v0.5.0 instead of nighly * github/workflow: upgrade go version to 1.17.x * nvim: add go:build pragma
1 parent e3638e2 commit c8dbb8f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os:
2020
- ubuntu-20.04 # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
2121
go-version:
22-
- 1.16.x
22+
- 1.17.x
2323
runs-on: ${{ matrix.os }}
2424

2525
steps:
@@ -61,7 +61,7 @@ jobs:
6161
if: steps.cache-nvim.outputs.cache-hit != 'true'
6262
with:
6363
neovim: true
64-
version: nightly
64+
version: v0.5.0
6565

6666
- name: Run Benchmark
6767
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
matrix:
2424
os:
2525
- ubuntu-20.04 # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
26-
- macos-11.0 # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11.0-Readme.md
26+
- macos-11.0 # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
2727
- windows-2019 # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
2828
go-version:
29-
- 1.14.x
3029
- 1.15.x
3130
- 1.16.x
31+
- 1.17.x
3232
fail-fast: false
3333

3434
runs-on: ${{ matrix.os }}
@@ -66,7 +66,7 @@ jobs:
6666
if: steps.cache-nvim.outputs.cache-hit != 'true' || steps.cache-nvim-windows.outputs.cache-hit != 'true'
6767
with:
6868
neovim: true
69-
version: nightly
69+
version: v0.5.0
7070

7171
- name: gofmt
7272
if: ${{ env.OS != 'windows' }}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/neovim/go-client
22

3-
go 1.14
3+
go 1.15

nvim/api_tool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build ignore
12
// +build ignore
23

34
// Command apitool generates api.go from api_def.go. The command also has

0 commit comments

Comments
 (0)