Skip to content

Commit

Permalink
Upgrade the Go version to 1.17.x (#117)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
zchee committed Sep 26, 2021
1 parent e3638e2 commit c8dbb8f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
os:
- ubuntu-20.04 # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
go-version:
- 1.16.x
- 1.17.x
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
if: steps.cache-nvim.outputs.cache-hit != 'true'
with:
neovim: true
version: nightly
version: v0.5.0

- name: Run Benchmark
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
matrix:
os:
- ubuntu-20.04 # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
- macos-11.0 # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11.0-Readme.md
- macos-11.0 # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
- windows-2019 # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
go-version:
- 1.14.x
- 1.15.x
- 1.16.x
- 1.17.x
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
if: steps.cache-nvim.outputs.cache-hit != 'true' || steps.cache-nvim-windows.outputs.cache-hit != 'true'
with:
neovim: true
version: nightly
version: v0.5.0

- name: gofmt
if: ${{ env.OS != 'windows' }}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/neovim/go-client

go 1.14
go 1.15
1 change: 1 addition & 0 deletions nvim/api_tool.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore

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

0 comments on commit c8dbb8f

Please sign in to comment.