From 5d0b22ebc77bc7f02cb13b43e8af3caa65363214 Mon Sep 17 00:00:00 2001 From: Norbert Biczo Date: Fri, 2 Sep 2022 19:12:59 +0200 Subject: [PATCH] build: add Go 1.19 (#204) This commit enables building the project on Go 1.19. It also updates the `golangci-lint` package version to resolve a compatibility issue with the latest Go version. Signed-off-by: Norbert Biczo --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 53b97c6e..811738af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ go: - 1.16.x - 1.17.x - 1.18.x +- 1.19.x notifications: email: true @@ -19,7 +20,7 @@ before_install: - pyenv global 3.8 install: - - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.45.2 + - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.49.0 - curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin script: