Add Go 1.20 to Travis

- Use golang-ci in go test workflow

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
This commit is contained in:
Sylvain Rabot
2023-07-10 21:56:53 +02:00
committed by Waldemar Quevedo
parent ab5eeff1c3
commit 64b2f5b364
8 changed files with 14 additions and 24 deletions

View File

@@ -9,6 +9,8 @@ go:
# This should be quoted or use .x, but should not be unquoted.
# Remember that a YAML bare float drops trailing zeroes.
- "1.19.12"
- "1.20.x"
go_import_path: github.com/nats-io/nats-server
addons:
@@ -50,4 +52,4 @@ deploy:
script: curl -sL http://git.io/goreleaser | bash
on:
tags: true
condition: ($TRAVIS_GO_VERSION =~ 1.19) && ($TEST_SUITE = "compile")
condition: ($TRAVIS_GO_VERSION =~ 1.20) && ($TEST_SUITE = "compile")