Skip to content

Commit

Permalink
upgrade to Golang 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Aug 13, 2022
1 parent d839e3d commit 78f0431
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ services:

steps:
- name: start
image: "golang:1.18"
image: "golang:1.19"
pull: if-not-exists
commands:
- sleep 20
Expand Down Expand Up @@ -158,7 +158,7 @@ steps:
- start

- name: tests
image: "golang:1.18"
image: "golang:1.19"
pull: if-not-exists
environment:
GO111MODULE: on
Expand All @@ -177,7 +177,7 @@ steps:


- name: mixins
image: golang:1.18
image: golang:1.19
pull: if-not-exists
commands:
- cd ./contrib/redis-mixin
Expand All @@ -194,7 +194,7 @@ steps:


- name: coverage-codecov
image: golang:1.18
image: golang:1.19
pull: if-not-exists
environment:
CODECOV_TOKEN:
Expand All @@ -212,7 +212,7 @@ steps:


- name: coverage-coveralls
image: "golang:1.18"
image: "golang:1.19"
pull: if-not-exists
environment:
GO111MODULE: on
Expand All @@ -231,7 +231,7 @@ steps:


- name: build-binaries
image: "golang:1.18"
image: "golang:1.19"
pull: if-not-exists
environment:
GO111MODULE: on
Expand Down Expand Up @@ -586,7 +586,7 @@ steps:


- name: release-github-binaries
image: "golang:1.18"
image: "golang:1.19"
pull: if-not-exists
environment:
GITHUB_TOKEN:
Expand Down
2 changes: 1 addition & 1 deletion contrib/docker-compose-for-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:


tests:
image: golang:1.18
image: golang:1.19
working_dir: /go/src/github.com/oliver006/redis_exporter
volumes:
- ..:/go/src/github.com/oliver006/redis_exporter
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG GOARCH
#
# build container
#
FROM --platform=linux/amd64 golang:1.18-alpine as builder
FROM --platform=linux/amd64 golang:1.19-alpine as builder
WORKDIR /go/src/github.com/oliver006/redis_exporter/

ADD . /go/src/github.com/oliver006/redis_exporter/
Expand Down

0 comments on commit 78f0431

Please sign in to comment.