From e15fabc2eee93636dcc2dc95430472fa83fb82c3 Mon Sep 17 00:00:00 2001 From: Daniel Albuquerque <1187103+worldtiki@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:23:33 +0000 Subject: [PATCH] Update github action to use go 21 (#334) --- .github/workflows/go.yml | 2 +- .gitignore | 1 + Dockerfile | 2 +- README.md | 2 +- docs/installation/building.md | 2 +- go.mod | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cfb18e29..f91fac1c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - name: Check out code uses: actions/checkout@v3 - name: Build diff --git a/.gitignore b/.gitignore index ab1e4a11..220e77ec 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ alive ready debug mittens +oryxBuildBinary website/translated_docs website/build/ diff --git a/Dockerfile b/Dockerfile index 70202b49..d631f672 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 as builder +FROM golang:1.21 as builder # Create required dirs and copy files RUN mkdir -p /mittens COPY ./ /mittens/ diff --git a/README.md b/README.md index aa7bc5ee..6af667e3 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ We provide a [Makefile](Makefile) which can be used to generate an executable bi ### Binary -To build the binary make sure you've installed [Go 1.19](https://golang.org/dl/). +To build the binary make sure you've installed [Go 1.21](https://golang.org/dl/). #### Build binary executable & run tests diff --git a/docs/installation/building.md b/docs/installation/building.md index 623eab93..09e4499d 100644 --- a/docs/installation/building.md +++ b/docs/installation/building.md @@ -8,7 +8,7 @@ We provide a [Makefile](https://github.com/ExpediaGroup/mittens/blob/main/Makefi ### Binary -To build the binary make sure you've installed [Go 1.19](https://golang.org/dl/). +To build the binary make sure you've installed [Go 1.21](https://golang.org/dl/). #### Build binary executable & run unit tests diff --git a/go.mod b/go.mod index e3a679f8..fad90358 100644 --- a/go.mod +++ b/go.mod @@ -21,4 +21,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.19 +go 1.21