This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 840d98b75c7a601b96a12fad56325291d1dd7c93
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Mon Jul 11 11:06:49 2022 +0200

    fix(ci): go 1.17 installation
---
 .github/actions/kamel-prepare-env/action.yml | 2 +-
 .github/workflows/build.yml                  | 1 -
 .github/workflows/builder.yml                | 1 -
 .github/workflows/common.yml                 | 1 -
 .github/workflows/install.yml                | 1 -
 .github/workflows/knative.yml                | 1 -
 .github/workflows/openshift.yml              | 1 -
 .github/workflows/release.yml                | 4 ++--
 .github/workflows/upgrade.yml                | 1 -
 .github/workflows/validate.yml               | 4 ----
 .github/workflows/verify-generate.yml        | 5 -----
 11 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/.github/actions/kamel-prepare-env/action.yml 
b/.github/actions/kamel-prepare-env/action.yml
index 45871e10b..0204dfd4e 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -75,7 +75,7 @@ runs:
       uses: actions/setup-go@v2 # Version 2 adds GOBIN to PATH
       if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
       with:
-        go-version: 1.16.x
+        go-version: 1.17.x
 
     - name: (Re-)install kustomize
       shell: bash
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 217b404c5..0c3bf48f8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -64,6 +64,5 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Execute Build Tests
       uses: ./.github/actions/e2e-build
diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 1c9e5f8b3..8050a3a6d 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -75,7 +75,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Convert input parameters to env vars
       shell: bash
       run: |
diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml
index 4bdfb51d4..bbc948a91 100644
--- a/.github/workflows/common.yml
+++ b/.github/workflows/common.yml
@@ -75,7 +75,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Convert input parameters to env vars
       shell: bash
       run: |
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml
index a3a44f334..70ef4eef1 100644
--- a/.github/workflows/install.yml
+++ b/.github/workflows/install.yml
@@ -74,7 +74,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Convert input parameters to env vars
       shell: bash
       run: |
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 0c3c5c5a5..3009fd942 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -71,7 +71,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Convert input parameters to env vars
       shell: bash
       run: |
diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index 4f2e4f4e7..006989704 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -75,7 +75,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - id: prepare-env
       name: Prepare Test Environment
       uses: ./.github/actions/kamel-prepare-env
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a572ea178..785bc57ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,9 +30,9 @@ jobs:
       with:
         version: "11"
     - name: Install Go
-      uses: actions/setup-go@v1
+      uses: actions/setup-go@v2
       with:
-        go-version: 1.16.x
+        go-version: 1.17.x
     - name: Checkout code
       uses: actions/checkout@v2
     - name: Cache modules
diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml
index 09eec212a..01fd3cba3 100644
--- a/.github/workflows/upgrade.yml
+++ b/.github/workflows/upgrade.yml
@@ -71,7 +71,6 @@ jobs:
       with:
         persist-credentials: false
         submodules: recursive
-
     - name: Convert input parameters to env vars
       shell: bash
       run: |
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index b635a8470..0a8c5c4e7 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -37,10 +37,6 @@ jobs:
     steps:
       - name: Check out code
         uses: actions/checkout@v2
-      - name: Install Go
-        uses: actions/setup-go@v1
-        with:
-          go-version: 1.16.x
       - name: golangci-lint
         uses: golangci/golangci-lint-action@v2
         env:
diff --git a/.github/workflows/verify-generate.yml 
b/.github/workflows/verify-generate.yml
index ed66309c2..4a6b93ffe 100644
--- a/.github/workflows/verify-generate.yml
+++ b/.github/workflows/verify-generate.yml
@@ -59,11 +59,6 @@ jobs:
     steps:
       - name: Check out code
         uses: actions/checkout@v2
-      - name: Install Go
-        uses: actions/setup-go@v1
-        with:
-          # make generate requires Go >=1.17
-          go-version: 1.17.x
       - name: Test generate
         shell: bash
         run: make generate

Reply via email to