Skip to content

Commit 28bd5d3

Browse files
committed
MEDIUM: Changes for Go 1.19 runtime
1 parent a31bb45 commit 28bd5d3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Go
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: 1.17
15+
go-version: 1.19
1616
- name: Run GoReleaser
1717
uses: goreleaser/goreleaser-action@v2
1818
with:

.github/workflows/actions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up Go
3939
uses: actions/setup-go@v2
4040
with:
41-
go-version: 1.17
41+
go-version: 1.19
4242
- uses: actions/cache@v2
4343
with:
4444
path: |
@@ -77,10 +77,10 @@ jobs:
7777
steps:
7878
- name: Check out code
7979
uses: actions/checkout@v2
80-
- name: Set up Go 1.17
80+
- name: Set up Go 1.19
8181
uses: actions/setup-go@v2
8282
with:
83-
go-version: 1.17
83+
go-version: 1.19
8484
id: go
8585
- uses: actions/cache@v2
8686
with:
@@ -106,7 +106,7 @@ jobs:
106106
- uses: actions/checkout@v2
107107
- uses: actions/setup-go@v2
108108
with:
109-
go-version: '^1.17' # The Go version to download (if necessary) and use.
109+
go-version: '^1.19' # The Go version to download (if necessary) and use.
110110
- uses: actions/cache@v2
111111
with:
112112
path: |

.gitlab-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ variables:
1111
diff:
1212
stage: diff
1313
image:
14-
name: $CI_REGISTRY_GO/golang:1.17
14+
name: $CI_REGISTRY_GO/golang:1.19
1515
entrypoint: [ "" ]
1616
tags:
1717
- go
@@ -26,7 +26,7 @@ diff:
2626
tidy:
2727
stage: lint
2828
image:
29-
name: $CI_REGISTRY_GO/golang:1.17
29+
name: $CI_REGISTRY_GO/golang:1.19
3030
entrypoint: [""]
3131
tags:
3232
- go
@@ -62,7 +62,7 @@ lint-commit-msg:
6262
unit-tests:
6363
stage: unit-tests
6464
image:
65-
name: $CI_REGISTRY_GO/haproxy-alpine:2.5-go1.17
65+
name: $CI_REGISTRY_GO/haproxy-alpine:2.5-go1.19
6666
entrypoint: [""]
6767
tags:
6868
- go
@@ -74,7 +74,7 @@ unit-tests:
7474
- branches
7575
.kind_deployment:
7676
stage: e2e-tests
77-
image: $CI_REGISTRY_GO/docker:stable-go1.17
77+
image: $CI_REGISTRY_GO/docker:stable-go1.19
7878
services:
7979
- name: $CI_REGISTRY_GO/docker:18.09.7-dind
8080
alias: docker
@@ -86,8 +86,8 @@ unit-tests:
8686
- go version
8787
- docker pull $CI_REGISTRY_GO/alpine:3
8888
- docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3
89-
- docker pull $CI_REGISTRY_GO/golang:1.17-alpine
90-
- docker image tag $CI_REGISTRY_GO/golang:1.17-alpine golang:1.17-alpine
89+
- docker pull $CI_REGISTRY_GO/golang:1.19-alpine
90+
- docker image tag $CI_REGISTRY_GO/golang:1.19-alpine golang:1.19-alpine
9191
- wget -q -o /dev/null -O &> /dev/null /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND}/kind-linux-amd64
9292
- chmod +x /usr/local/bin/kind
9393
- wget -q -o /dev/null -O &> /dev/null /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL}/bin/linux/amd64/kubectl

0 commit comments

Comments
 (0)