From 5c65cf04b0164335683dbe93fa8ee39e569a3840 Mon Sep 17 00:00:00 2001 From: neilcgomes Date: Mon, 15 Jul 2024 08:39:42 +0200 Subject: [PATCH] minor update go to 1.22.4 --- .circleci/config.yml | 6 +++--- Dockerfile | 2 +- docs/pages/contributing.rst | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e79af9d43..9d3e0d7a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 jobs: build: docker: - - image: cimg/go:1.22 + - image: cimg/go:1.22.4 environment: GOPATH: /home/circleci/go @@ -32,7 +32,7 @@ jobs: deploy-master: docker: - - image: cimg/go:1.22 + - image: cimg/go:1.22.4 environment: GOPATH: /home/circleci/go @@ -87,7 +87,7 @@ jobs: deploy-release: docker: - - image: cimg/go:1.22 + - image: cimg/go:1.22.4 environment: GOPATH: /home/circleci/go diff --git a/Dockerfile b/Dockerfile index 126c74e41..83b3dee8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.1 AS build-env +FROM golang:1.22.4 AS build-env WORKDIR /usr/local/go/src/github.com/SpectoLabs/hoverfly COPY . /usr/local/go/src/github.com/SpectoLabs/hoverfly RUN cd core/cmd/hoverfly && CGO_ENABLED=0 GOOS=linux go install -ldflags "-s -w" diff --git a/docs/pages/contributing.rst b/docs/pages/contributing.rst index 8b2e65266..dd403171c 100644 --- a/docs/pages/contributing.rst +++ b/docs/pages/contributing.rst @@ -16,7 +16,7 @@ Learn more about the `forking workflow here `_ . Instructions on how to set up your Go environment can be `found here `_. +You will need `Go 1.22.4 `_ . Instructions on how to set up your Go environment can be `found here `_. .. code:: bash diff --git a/go.mod b/go.mod index 31662d503..bd53d2b51 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/SpectoLabs/hoverfly -go 1.22 +go 1.22.4 require ( github.com/ChrisTrenkamp/xsel v0.9.6