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:
parent
5fa9757b43
commit
8fe491156c
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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"
|
||||
|
||||
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user