Skip to content

Commit

Permalink
Upgrade golang from 1.14 to 1.16
Browse files Browse the repository at this point in the history
Signed-off-by: llhuii <[email protected]>
  • Loading branch information
llhuii committed Dec 13, 2021
1 parent 5b0afad commit b644403
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- uses: actions/cache@v2
with:
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- uses: actions/cache@v2
with:
Expand All @@ -102,7 +102,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- uses: actions/cache@v2
with:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- uses: actions/cache@v2
with:
Expand All @@ -159,7 +159,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- uses: actions/cache@v2
with:
Expand All @@ -171,4 +171,4 @@ jobs:
with:
fetch-depth: 0

- run: make docker-cross-build
- run: make docker-cross-build
2 changes: 1 addition & 1 deletion build/gm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Add cross buildx improvement
# _speed_buildx_for_go_
FROM golang:1.14-alpine3.11 AS builder
FROM golang:1.16-alpine3.15 AS builder
LABEL stage=builder

ARG GO_LDFLAGS
Expand Down
2 changes: 1 addition & 1 deletion build/lc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Add cross buildx improvement
# LC has built sqlite3 which requires CGO with CGO_ENABLED=1
# _speed_buildx_for_cgo_alpine_
FROM golang:1.14-alpine3.11 AS builder
FROM golang:1.16-alpine3.15 AS builder
LABEL stage=builder

ARG GO_LDFLAGS
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kubeedge/sedna

go 1.14
go 1.16

require (
github.com/emicklei/go-restful/v3 v3.4.0
Expand Down

0 comments on commit b644403

Please sign in to comment.