Skip to content

Commit

Permalink
Fixes CVE-2022-41716 and updated go version to 1.20 (#130)
Browse files Browse the repository at this point in the history
* updated go version to 1.19

* updated to latest go

---------

Co-authored-by: Carlos Wirawan <[email protected]>
  • Loading branch information
cawirawa and Carlos Wirawan authored Mar 17, 2023
1 parent a8ac554 commit 03fd751
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.20
- name: GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.20
- name: Setup ko
uses: imjasonh/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.vscode

# ignore "go build" output
grpc_health_probe
grpc-health-probe
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 AS build
FROM golang:1.20 AS build
ENV PROJECT grpc_health_probe
WORKDIR /src/$PROJECT
COPY go.mod go.sum ./
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ require (
google.golang.org/protobuf v1.29.1 // indirect
)

go 1.18
go 1.20

0 comments on commit 03fd751

Please sign in to comment.