You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/10/23 11:22:46 UTC

[camel-k] 01/02: chore(ci): Use latest minor version of golang in ci workflows

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

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

commit 28a7d8d1d39cec29ad3b84bf1f4842da44a8f170
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Fri Oct 20 17:10:43 2023 +0200

    chore(ci): Use latest minor version of golang in ci workflows
---
 .github/actions/automatic-updates/action.yml | 1 +
 .github/actions/kamel-prepare-env/action.yml | 1 +
 .github/actions/release-nightly/action.yml   | 1 +
 .github/workflows/validate.yml               | 1 +
 4 files changed, 4 insertions(+)

diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml
index 95142599a..97d1b4976 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -35,6 +35,7 @@ runs:
       uses: actions/setup-go@v4
       with:
         go-version: ${{ inputs.goVersion }}
+        check-latest: true
     - name: Generate changelog
       uses: ./.github/actions/changelog
       with:
diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml
index 6e6d0a41a..298e5b51d 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -75,6 +75,7 @@ runs:
       if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
       with:
         go-version: 1.20.x
+        check-latest: true
 
     - name: (Re-)install kustomize
       shell: bash
diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml
index 4abb219d6..2b8b84ecc 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -50,6 +50,7 @@ runs:
       uses: actions/setup-go@v4
       with:
         go-version: ${{ inputs.goVersion }}
+        check-latest: true
     - name: Common smoke tests
       uses: ./.github/actions/e2e-common
       with:
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 58f4657a6..e39155f2e 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -45,6 +45,7 @@ jobs:
         uses: actions/setup-go@v4
         with:
           go-version: 1.20.x
+          check-latest: true
       - name: golangci-lint
         uses: golangci/golangci-lint-action@v3
         env: