Browse Source

Merge pull request #2126 from slingamn/go122

upgrade to go 1.22
pull/2127/head
Shivaram Lingamneni 2 months ago
parent
commit
2098cc9f2b
No account linked to committer's email address
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      .github/workflows/build.yml
  2. 1
    1
      Dockerfile
  3. 1
    1
      go.mod

+ 1
- 1
.github/workflows/build.yml View File

19
       - name: "setup go"
19
       - name: "setup go"
20
         uses: "actions/setup-go@v3"
20
         uses: "actions/setup-go@v3"
21
         with:
21
         with:
22
-          go-version: "1.21"
22
+          go-version: "1.22"
23
       - name: "install python3-pytest"
23
       - name: "install python3-pytest"
24
         run: "sudo apt install -y python3-pytest"
24
         run: "sudo apt install -y python3-pytest"
25
       - name: "make install"
25
       - name: "make install"

+ 1
- 1
Dockerfile View File

1
 ## build ergo binary
1
 ## build ergo binary
2
-FROM docker.io/golang:1.21-alpine AS build-env
2
+FROM docker.io/golang:1.22-alpine AS build-env
3
 
3
 
4
 RUN apk upgrade -U --force-refresh --no-cache && apk add --no-cache --purge --clean-protected -l -u make git
4
 RUN apk upgrade -U --force-refresh --no-cache && apk add --no-cache --purge --clean-protected -l -u make git
5
 
5
 

+ 1
- 1
go.mod View File

1
 module github.com/ergochat/ergo
1
 module github.com/ergochat/ergo
2
 
2
 
3
-go 1.21
3
+go 1.22
4
 
4
 
5
 require (
5
 require (
6
 	code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48
6
 	code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48

Loading…
Cancel
Save