Skip to content

Commit

Permalink
feat: support go v1.20 and drop v1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote committed Feb 6, 2023
1 parent 8da6417 commit 9cd257f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 3 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9cd257f

Please sign in to comment.