Skip to content

Commit 44af6e5

Browse files
authored
feat: support go v1.20 and drop v1.18 (#231)
1 parent b2b1a03 commit 44af6e5

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
go-version: [1.18, 1.19]
9+
go-version: ["1.19", "1.20"]
1010
steps:
1111
- name: Set up Go ${{ matrix.go-version }}
1212
uses: actions/setup-go@v3

.gitlab-ci.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ test:golangci-lint:
1111
- golangci-lint run -v
1212
except:
1313
- tags
14-
- master
15-
tags:
16-
- hc-bladerunner
14+
- main
1715

1816
test:tests:
1917
stage: test
20-
image: golang:1.18
18+
image: golang:1.19
2119
script:
2220
- go test -v -race ./...
2321
except:
2422
- tags
25-
- master
26-
tags:
27-
- hc-bladerunner
23+
- main

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/hetznercloud/hcloud-go
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/google/go-cmp v0.5.5

0 commit comments

Comments
 (0)