From 4b9aa725cb22d71694d689f738412543271cfa7b Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sat, 10 Feb 2024 23:46:34 -0500 Subject: [PATCH] upgrade to go 1.22 --- .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 97442725..bdb4a496 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.21" + go-version: "1.22" - name: "install python3-pytest" run: "sudo apt install -y python3-pytest" - name: "make install" diff --git a/Dockerfile b/Dockerfile index eb21904c..83e50c57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## build ergo binary -FROM docker.io/golang:1.21-alpine AS build-env +FROM docker.io/golang:1.22-alpine AS build-env RUN apk upgrade -U --force-refresh --no-cache && apk add --no-cache --purge --clean-protected -l -u make git diff --git a/go.mod b/go.mod index 046668bd..55b0a10d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ergochat/ergo -go 1.21 +go 1.22 require ( code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48