build: move to Go 1.19 as default version for building services

Go 1.18.5 and other Go 1.18 version patches provided many vulnerability fixes
but as go.mod doesn't support minor version i.e why moving to next go release

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
(cherry picked from commit cc921a53f0)
This commit is contained in:
Pratik Raj authored and Travis Nielsen committed 2022-12-19 11:00:52 -07:00
1 parent 9d56ff29a7
commit 10fd4bebcd
9 files changed
+9 -9

No files matched your search

@@ -11,7 +11,7 @@ runs:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: setup minikube
uses: manusa/actions-setup-minikube@v2.7.2
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: checkout
uses: actions/checkout@v2
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: teardown minikube and docker
run: |
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- uses: actions/setup-python@v2
with:
@@ -14,7 +14,7 @@ runs:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: setup minikube
uses: manusa/actions-setup-minikube@v2.7.2
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: run mod check
run: GOPATH=$(go env GOPATH) make -j $(nproc) mod.check
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
# docker/setup-qemu action installs QEMU static binaries, which are used to run builders for architectures other than the host.
- name: set up QEMU
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: checkout
uses: actions/checkout@v2
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: run unit tests
run: GOPATH=$(go env GOPATH) make -j $(nproc) test