update go pipeline to 1.18.1

pull/119/head
ray-x 2 years ago
parent f6c45b554c
commit 791dc89183

@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.17.2" # The Go version to download (if necessary) and use.
go-version: "^1.18" # The Go version to download (if necessary) and use.
- run: date +%F > todays-date
- name: Restore cache for today's nightly.
uses: actions/cache@v2

@ -23,7 +23,7 @@ The plugin covers most features required for a gopher.
errors...
- Go to alternative go file (between test and source)
- Test with ginkgo, richgo inside floaterm (to enable floaterm, guihua.lua has to be installed)
- Go 1.18beta1 support, configure your go to `go1.18beta1` in config
- Go 1.18 support, configure your go to `go1.18` in config
## Installation

@ -0,0 +1,17 @@
let s:cpo_save = &cpo
set cpo&vim
au BufRead,BufNewFile *.go setfiletype go
au BufRead,BufNewFile *.s setfiletype asm
au BufRead,BufNewFile *.tmpl set filetype=gohtmltmpl
au BufRead,BufNewFile go.sum set filetype=gosum
au BufRead,BufNewFile go.work.sum set filetype=gosum
au BufRead,BufNewFile go.work set filetype=gowork
au! BufRead,BufNewFile *.mod,*.MOD
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 ts=2 et
Loading…
Cancel
Save