From 9cd257fede5356dc983362638d98650940347eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Mon, 6 Feb 2023 16:15:29 +0100 Subject: [PATCH] feat: support go v1.20 and drop v1.18 --- .github/workflows/ci.yml | 2 +- .gitlab-ci.yml | 10 +++------- go.mod | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34170299..6d0ca344 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.18, 1.19] + go-version: ["1.19", "1.20"] steps: - name: Set up Go ${{ matrix.go-version }} uses: actions/setup-go@v2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f95e8543..75c4c75d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,17 +11,13 @@ test:golangci-lint: - golangci-lint run -v except: - tags - - master - tags: - - hc-bladerunner + - main test:tests: stage: test - image: golang:1.18 + image: golang:1.19 script: - go test -v -race ./... except: - tags - - master - tags: - - hc-bladerunner + - main diff --git a/go.mod b/go.mod index 33a33999..d685473a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hetznercloud/hcloud-go -go 1.18 +go 1.19 require ( github.com/google/go-cmp v0.5.5