You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2023/01/09 08:29:06 UTC
[camel-k] 05/14: chore: Upgrade Golang to version 1.18
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 34971ce69f57b4ee5c97de3399d9628e4bf6966e
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Jan 5 12:35:13 2023 +0100
chore: Upgrade Golang to version 1.18
---
.github/actions/kamel-prepare-env/action.yml | 4 ++--
.github/workflows/release.yml | 2 +-
.github/workflows/validate.yml | 2 +-
.github/workflows/verify-generate.yml | 2 +-
go.mod | 2 +-
pkg/apis/camel/go.mod | 2 +-
pkg/client/camel/go.mod | 2 +-
pkg/kamelet/repository/go.mod | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml
index 66cbaf7ef..c7788cbd6 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -68,11 +68,11 @@ runs:
with:
version: "11"
- - name: Set Go
+ - name: Set up Go
uses: actions/setup-go@v2 # Version 2 adds GOBIN to PATH
if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
with:
- go-version: 1.17.x
+ go-version: 1.18.x
- name: (Re-)install kustomize
shell: bash
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index da79d2a3e..fe4ba55d6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -39,7 +39,7 @@ jobs:
- name: Release main nightly
uses: ./.github/actions/release-nightly
with:
- goVersion: "1.17.x"
+ goVersion: "1.18.x"
javaVersion: "11"
secretE2ECluster: ${{ secrets.E2E_CLUSTER_CONFIG }}
secretE2EKube: ${{ secrets.E2E_KUBE_CONFIG }}
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index c474055c3..26fb12dd6 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -40,7 +40,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
- go-version: 1.17.x
+ go-version: 1.18.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
env:
diff --git a/.github/workflows/verify-generate.yml b/.github/workflows/verify-generate.yml
index 00ea3cb9c..70d6c6de2 100644
--- a/.github/workflows/verify-generate.yml
+++ b/.github/workflows/verify-generate.yml
@@ -62,7 +62,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
- go-version: 1.17.x
+ go-version: 1.18.x
- name: Test generate
shell: bash
run: make generate
diff --git a/go.mod b/go.mod
index c52585c35..e89683e52 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/camel-k
-go 1.17
+go 1.18
require (
github.com/Masterminds/semver v1.5.0
diff --git a/pkg/apis/camel/go.mod b/pkg/apis/camel/go.mod
index a1b406454..543fc397b 100644
--- a/pkg/apis/camel/go.mod
+++ b/pkg/apis/camel/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/camel-k/pkg/apis/camel
-go 1.17
+go 1.18
require (
github.com/imdario/mergo v0.3.13
diff --git a/pkg/client/camel/go.mod b/pkg/client/camel/go.mod
index 892cc0f9d..dd8c14f5c 100644
--- a/pkg/client/camel/go.mod
+++ b/pkg/client/camel/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/camel-k/pkg/client/camel
-go 1.17
+go 1.18
require (
github.com/apache/camel-k/pkg/apis/camel v0.0.0
diff --git a/pkg/kamelet/repository/go.mod b/pkg/kamelet/repository/go.mod
index d5a24f500..022b33b2a 100644
--- a/pkg/kamelet/repository/go.mod
+++ b/pkg/kamelet/repository/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/camel-k/pkg/kamelet/repository
-go 1.17
+go 1.18
require (
github.com/apache/camel-k/pkg/apis/camel v0.0.0