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:45 UTC

[camel-k] branch main updated (48e81f321 -> 63d4fc3b0)

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

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


    from 48e81f321 chore(ci): release notes procedure
     new 28a7d8d1d chore(ci): Use latest minor version of golang in ci workflows
     new 63d4fc3b0 chore(ci): Use project defined golang version in ci

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/actions/automatic-updates/action.yml    | 7 ++++---
 .github/actions/kamel-prepare-env/action.yml    | 3 ++-
 .github/actions/release-nightly/action.yml      | 7 ++++---
 .github/workflows/coverage.yml                  | 2 +-
 .github/workflows/nightly-automatic-updates.yml | 2 +-
 .github/workflows/nightly-release.yml           | 2 +-
 .github/workflows/security.yaml                 | 2 +-
 .github/workflows/validate.yml                  | 3 ++-
 8 files changed, 16 insertions(+), 12 deletions(-)


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

Posted by pc...@apache.org.
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:


[camel-k] 02/02: chore(ci): Use project defined golang version in ci

Posted by pc...@apache.org.
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 63d4fc3b021e022fccd88a51eac9ca59f8cc0128
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Mon Oct 23 09:31:05 2023 +0200

    chore(ci): Use project defined golang version in ci
---
 .github/actions/automatic-updates/action.yml    | 6 +++---
 .github/actions/kamel-prepare-env/action.yml    | 2 +-
 .github/actions/release-nightly/action.yml      | 6 +++---
 .github/workflows/coverage.yml                  | 2 +-
 .github/workflows/nightly-automatic-updates.yml | 2 +-
 .github/workflows/nightly-release.yml           | 2 +-
 .github/workflows/security.yaml                 | 2 +-
 .github/workflows/validate.yml                  | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml
index 97d1b4976..ef2e81e4c 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -24,17 +24,17 @@ inputs:
     type: string
   secretGithubToken:
     required: true
-  goVersion:
+  goVersionFile:
     required: true
     type: string
 
 runs:
   using: "composite"
   steps:
-    - name: Install Go ${{ inputs.goVersion }}
+    - name: Install Go ${{ inputs.goVersionFile }}
       uses: actions/setup-go@v4
       with:
-        go-version: ${{ inputs.goVersion }}
+        go-version-file: ${{ inputs.goVersionFile }}
         check-latest: true
     - name: Generate changelog
       uses: ./.github/actions/changelog
diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml
index 298e5b51d..0ebb9a1d1 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -74,7 +74,7 @@ runs:
       uses: actions/setup-go@v4
       if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
       with:
-        go-version: 1.20.x
+        go-version-file: 'go.mod'
         check-latest: true
 
     - name: (Re-)install kustomize
diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml
index 2b8b84ecc..7977626d9 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -19,7 +19,7 @@ name: release-nightly
 description: 'action used to release nightly'
 
 inputs:
-  goVersion:
+  goVersionFile:
     required: true
     type: string
   javaVersion:
@@ -46,10 +46,10 @@ runs:
       with:
         java-version: ${{ inputs.javaVersion }}
         distribution: "temurin"
-    - name: Install Go ${{ inputs.goVersion }}
+    - name: Install Go ${{ inputs.goVersionFile }}
       uses: actions/setup-go@v4
       with:
-        go-version: ${{ inputs.goVersion }}
+        go-version-file: ${{ inputs.goVersionFile }}
         check-latest: true
     - name: Common smoke tests
       uses: ./.github/actions/e2e-common
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 891eba2a6..30f0a953a 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -35,7 +35,7 @@ jobs:
       - name: Setup go
         uses: actions/setup-go@v4
         with:
-          go-version: '1.20'
+          go-version-file: 'go.mod'
           check-latest: true
 
       - name: Prepare repo configuration
diff --git a/.github/workflows/nightly-automatic-updates.yml b/.github/workflows/nightly-automatic-updates.yml
index dee92ce9d..428b6d6a0 100644
--- a/.github/workflows/nightly-automatic-updates.yml
+++ b/.github/workflows/nightly-automatic-updates.yml
@@ -48,4 +48,4 @@ jobs:
       with:
         branch-ref: ${{ matrix.ref-branch }}
         secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
-        goVersion: "1.20.x"
+        goVersionFile: "go.mod"
diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml
index 7cbede836..9a58336ad 100644
--- a/.github/workflows/nightly-release.yml
+++ b/.github/workflows/nightly-release.yml
@@ -49,7 +49,7 @@ jobs:
     - name: Release nightly ${{ matrix.ref-branch }} branch
       uses: ./.github/actions/release-nightly
       with:
-        goVersion: "1.20.x"
+        goVersionFile: "go.mod"
         javaVersion: "17"
         secretE2ECluster: ${{ secrets.E2E_CLUSTER_CONFIG }}
         secretE2EKube: ${{ secrets.E2E_KUBE_CONFIG }}
diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml
index 4e0eb8e86..5999385d1 100644
--- a/.github/workflows/security.yaml
+++ b/.github/workflows/security.yaml
@@ -49,7 +49,7 @@ jobs:
       - name: Install Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.20.x
+          go-version-file: 'go.mod'
           check-latest: true
       - name: Install govulncheck
         run: go install golang.org/x/vuln/cmd/govulncheck@latest
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index e39155f2e..e28fedd8a 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -44,7 +44,7 @@ jobs:
       - name: Install Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.20.x
+          go-version-file: 'go.mod'
           check-latest: true
       - name: golangci-lint
         uses: golangci/golangci-lint-action@v3