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/24 14:44:06 UTC
[camel-k] branch main updated: fix(ci): Fix golang setup error in coverage workflow
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
The following commit(s) were added to refs/heads/main by this push:
new eb5607f7e fix(ci): Fix golang setup error in coverage workflow
eb5607f7e is described below
commit eb5607f7e944ca5e90edd137c14ff9dc74823956
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Tue Oct 24 12:47:55 2023 +0200
fix(ci): Fix golang setup error in coverage workflow
---
.github/workflows/coverage.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 30f0a953a..fa591502e 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -32,12 +32,6 @@ jobs:
steps:
- - name: Setup go
- uses: actions/setup-go@v4
- with:
- go-version-file: 'go.mod'
- check-latest: true
-
- name: Prepare repo configuration
shell: bash
env:
@@ -63,6 +57,12 @@ jobs:
run: |
git pull --rebase upstream ${{ github.event.pull_request.base.ref }} && echo "rebaseAborted=0" >> $GITHUB_ENV || echo "rebaseAborted=1" >> $GITHUB_ENV
+ - name: Setup go
+ uses: actions/setup-go@v4
+ with:
+ go-version-file: 'go.mod'
+ check-latest: true
+
- name: Get New Coverage
shell: bash
working-directory: ./${{ github.event.pull_request.head.repo.name }}