From 8b38d39a68870acd7fc3f2fecfd4103a1a29e38a Mon Sep 17 00:00:00 2001 From: Paul Lange Date: Mon, 26 Feb 2024 15:51:37 +0100 Subject: [PATCH] chore: update Go to 1.19 --- .github/workflows/ci.yaml | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- go.sum | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 92abe920..e16844d7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.17' + go-version: '1.19' - name: Install dependencies run: make deps diff --git a/Dockerfile b/Dockerfile index aac49263..4f74ac60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ # Stage 1: Build Rosetta # Outputs: binary @ /rosetta/rosetta #--------------------------------------------------------------------- -FROM golang:1.17-alpine as builder +FROM golang:1.19-alpine as builder WORKDIR /rosetta RUN apk add --no-cache make gcc musl-dev linux-headers git diff --git a/README.md b/README.md index 550e6056..feec98c5 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ You will need the following three repositories cloned locally: You also need the following dependencies to be met: -- `go >= 1.17` +- `go >= 1.19` - `golangci` ([installation instructions](https://golangci-lint.run/usage/install/#local-installation)) (linter dependency for the Makefile) #### Running Rosetta diff --git a/go.mod b/go.mod index 5fc430ef..dd8906ee 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/celo-org/rosetta -go 1.17 +go 1.19 require ( github.com/celo-org/celo-blockchain v1.8.1 diff --git a/go.sum b/go.sum index dacf63db..ff9ed33d 100644 --- a/go.sum +++ b/go.sum @@ -137,7 +137,6 @@ github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QH github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=