Browse Source

upgrade to go 1.20

tags/v2.12.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
8b6b2cabc3
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.19"
22
+          go-version: "1.20"
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 golang:1.19-alpine AS build-env
2
+FROM golang:1.20-alpine AS build-env
3
 
3
 
4
 RUN apk add -U --force-refresh --no-cache --purge --clean-protected -l -u make git
4
 RUN apk add -U --force-refresh --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.19
3
+go 1.20
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