From 61a686e7c13b5becb523b520adae3c0f30bb077e Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 10 Oct 2025 12:06:31 +0200 Subject: [PATCH 1/4] Add go env step --- .github/workflows/go-coverage.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/go-coverage.yaml b/.github/workflows/go-coverage.yaml index 5820f28..f09793f 100644 --- a/.github/workflows/go-coverage.yaml +++ b/.github/workflows/go-coverage.yaml @@ -27,6 +27,9 @@ jobs: with: # default fetch-depth is insufficent to find previous coverage notes fetch-depth: 10 + + - name: Tweak environment to mitigate 'codecov not found' error + run: go env -w GOTOOLCHAIN=go1.25.2+auto - name: Create coverage report uses: gwatts/go-coverage-action@2845595538a59d63d1bf55f109c14e104c6f7cb3 # v2.0.0 From 583f2c64759667d2a241c314fd3864e3d7f3f1ae Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 10 Oct 2025 12:18:24 +0200 Subject: [PATCH 2/4] Explicitly set up Go --- .github/workflows/go-coverage.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go-coverage.yaml b/.github/workflows/go-coverage.yaml index f09793f..8ede024 100644 --- a/.github/workflows/go-coverage.yaml +++ b/.github/workflows/go-coverage.yaml @@ -27,7 +27,11 @@ jobs: with: # default fetch-depth is insufficent to find previous coverage notes fetch-depth: 10 - + + - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 + with: + go-version: '=1.25.2' + - name: Tweak environment to mitigate 'codecov not found' error run: go env -w GOTOOLCHAIN=go1.25.2+auto From ad85cb8db79fb92e51c7c8e034d6efdbaacaac53 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 10 Oct 2025 12:25:43 +0200 Subject: [PATCH 3/4] Comment out go env --- .github/workflows/go-coverage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-coverage.yaml b/.github/workflows/go-coverage.yaml index 8ede024..47f37b3 100644 --- a/.github/workflows/go-coverage.yaml +++ b/.github/workflows/go-coverage.yaml @@ -32,8 +32,8 @@ jobs: with: go-version: '=1.25.2' - - name: Tweak environment to mitigate 'codecov not found' error - run: go env -w GOTOOLCHAIN=go1.25.2+auto + # - name: Tweak environment to mitigate 'codecov not found' error + # run: go env -w GOTOOLCHAIN=go1.25.2+auto - name: Create coverage report uses: gwatts/go-coverage-action@2845595538a59d63d1bf55f109c14e104c6f7cb3 # v2.0.0 From a6457e3284ed29ac3389784fa53b8ab977ab36df Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 10 Oct 2025 12:28:14 +0200 Subject: [PATCH 4/4] Remove obsolete fix --- .github/workflows/go-coverage.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/go-coverage.yaml b/.github/workflows/go-coverage.yaml index 47f37b3..a5a150a 100644 --- a/.github/workflows/go-coverage.yaml +++ b/.github/workflows/go-coverage.yaml @@ -32,9 +32,6 @@ jobs: with: go-version: '=1.25.2' - # - name: Tweak environment to mitigate 'codecov not found' error - # run: go env -w GOTOOLCHAIN=go1.25.2+auto - - name: Create coverage report uses: gwatts/go-coverage-action@2845595538a59d63d1bf55f109c14e104c6f7cb3 # v2.0.0 id: coverage