3
0
mirror of https://github.com/ergochat/ergo.git synced 2026-02-11 20:08:00 +01:00

upgrade to go 1.26 (#2330)

Also upgrade actions for compatibility with 1.26
This commit is contained in:
Shivaram Lingamneni 2026-02-10 16:19:08 -08:00 committed by GitHub
parent 5fa9757b43
commit 8fe491156c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -15,11 +15,11 @@ jobs:
runs-on: "ubuntu-24.04"
steps:
- name: "checkout repository"
uses: "actions/checkout@v3"
uses: "actions/checkout@v6"
- name: "setup go"
uses: "actions/setup-go@v3"
uses: "actions/setup-go@v6"
with:
go-version: "1.25"
go-version: "1.26"
- name: "install python3-pytest"
run: "sudo apt install -y python3-pytest"
- name: "make install"

View File

@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Authenticate to container registry
uses: docker/login-action@v2

View File

@ -1,5 +1,5 @@
## build ergo binary
FROM docker.io/golang:1.25-alpine3.22 AS build-env
FROM docker.io/golang:1.26-alpine3.22 AS build-env
RUN apk upgrade -U --force-refresh --no-cache && apk add --no-cache --purge --clean-protected -l -u make git

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/ergochat/ergo
go 1.25
go 1.26
require (
code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48