From 8b6b2cabc381cadb1fbc4dbea65b6cf1f662b3eb Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Mon, 6 Feb 2023 00:37:51 -0500 Subject: [PATCH] upgrade to go 1.20 --- .github/workflows/build.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08e751f9..7dfe9552 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: "setup go" uses: "actions/setup-go@v3" with: - go-version: "1.19" + go-version: "1.20" - name: "install python3-pytest" run: "sudo apt install -y python3-pytest" - name: "make install" diff --git a/Dockerfile b/Dockerfile index dee737d2..c0386d7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## build ergo binary -FROM golang:1.19-alpine AS build-env +FROM golang:1.20-alpine AS build-env RUN apk add -U --force-refresh --no-cache --purge --clean-protected -l -u make git diff --git a/go.mod b/go.mod index 4d4c1338..6556e67f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ergochat/ergo -go 1.19 +go 1.20 require ( code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48